public class Main {
public static void main(String[] args) {
Integer a = Integer.valueOf(100);
Integer b = Integer.valueOf(100);
System.out.println(a==b);
Integer c = Integer.valueOf(150);
Integer d = Integer.valueOf(150);
System.out.println(c==d);
Integer e = Integer.valueOf('A');
Integer f = Integer.valueOf('A');
System.out.println(e==f);
}
}
A code snippet is given above. Write the print outs of the code and explain why.
[4]