I had this interview question some years ago but I haven\'t found the answer yet.
What should be x and y to make a infinite loop?
while (x <= y&am
Here it is.
Integer x =1; Integer y = new Integer(1); while(x <= y&& x >= y && x != y) { System.out.println("Success"); }