Login or Create an Account to view the mark scheme, comment, and add to a test
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]

Short Answer4 MarksCommunity
10 Uses41 Views1 Like