1.

What will be the output of the program?

class Q207 { public static void main(String[] args) { int i1 = 5; int i2 = 6; String s1 = "7"; System.out.println(i1 + i2 + s1); /* Line 8 */ } }

A. 18
B. 117
C. 567
D. Compiler error
Answer» C. 567


Discussion

No Comment Found

Related MCQs