What is displayed by :
System.out.println("1" + new Integer(2) + 3);
a. The statement has a syntax error and won't compile
b. 6
c. 15
d. 123
e. ClassCastException
System.out.println("1" + new Integer(2) + 3);
a. The statement has a syntax error and won't compile
b. 6
c. 15
d. 123
e. ClassCastException
Comments
Post a Comment