What will be the output of the program?


			  		

Loading

Choose the correct option.

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

Leave a Comment