Java Quiz of the Day II
What gives:
Integer a = 100, b = 100;
Integer c = 200, d = 200;
System.out.println( (a == b) == (c == d) ); // A
Response: counter intuitively, the program prints ‘false’ out. Integer in Java is a non-native class, where ‘==’ means…