Q. What will be the output of following java code?
Code:public class Test{
public static void main(String... args){
int a=5 , b=6, c=7;
System.out.println("Value is "+ b + c);
System.out.println(a + b + c);
System.out.println("String " + (b+c));
}
}
β
Correct Answer: (A)
Value is 67 18 String 13