public class NewClass
{
public static void main(String args[]) {
Integer a = 188;
Integer b = 188;
System.out.println(a.intValue() == b); //prints true
}
}
The above code sample prints true. Since I've not considered the integer value for 'b', How is the code compared and TRUE was printed?