This was a question asked during a programming open interview. I'm not sure why the result for i=128. Could someone illuminate why 128 is the answer.
public static boolean isSame(Integer a, Integer b)
{
return a == b;
}
public static void main(String []args){
int i = 0;
for(int j = 0; i < 500; ++i, ++j)
{
if (isSame(i,j))
continue;
else
break;
}
System.out.println(i);
}