What will be the output of the following code?
StringBuilder sb = new StringBuilder("Hello"); sb.append(" World"); System.out.println(sb);
Hello
Hello World
World
Compilation Error
This question is part of this quiz :