Java - Strings and String Handling
What will this code print?
String s = "Hello";
s = s + " World";
System.out.println(s);
String s = "Hello";
s = s + " World";
System.out.println(s);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions