Sail E0 Webinar
Question
Determine output: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)); }}
Options:
A .  Value is 13 18 String 13
B .  Value is 67 18 String 13
C .  Value is 13 18 String
D .  None of these
E .  Compilation fails
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers