1Z0-811 Object-Oriented Programming • Set 2
1Z0-811 Object-Oriented Programming Practice Test 2 — 15 questions with explanations. Free, no signup.
A junior developer writes a method that attempts to modify a String: public void update() { String s = "Hello"; s.concat(" World"); System.out.println(s); } What will be printed when update() is called?