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)); }
1.Value is 13 18 String
2.Value is 67 18 String 13
3.Value is 13 18 String 13
4.Compilation fails
Posted Date:-2021-10-25 05:21:08