A
Q. What is the output of the following code snippet?
Code:
String s1 = “Hello”;
String s2 = “World”;
System.out.println(sA)concat(s2));
String s2 = “World”;
System.out.println(sA)concat(s2));
- Correct Answer - Option(A)
- Views: 5
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.