public class Why100equalAnd1000notEqual
{
public static void main(String args[]) throws NoSuchFieldException,Exception {
Class cache=Integer.class.getDeclaredClasses()[0];
Field myCache=cache.getDeclaredField("cache");
myCache.setAccessible(true);
Integer newCache[]=(Integer[]) myCache.get(cache);
newCache[132]=newCache[133];
int a=2;
int b=a+a;
System.out.printf("%d + %d = %d \n",a,a,b);
}
}