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