Q. What will be the output?
Code:
System.out.println(10 + "" + 10);
β
Correct Answer: (B)
1010
Explanation: String concatenation results in 1010.