Back to quizzes
Strings Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What is the result of the following code: String str = "Hello"; str.concat(" World");?
A
Hello World
B
Hello
C
World
D
HelloWorld