Kizspy | Question: 11
(Choose 1 answer)
FJOVERFLOW.COM
What will be the output of the following code?
public class Test10 {
public static void main(String[] args) {
}}
Integer x = new Integer(5);
Integer y= new Integer(10);
System.out.println((String)(x+y));
A. 15
B. 510
C. Runtime error
D. Compiler Error