Question from the Java - Fundamentals test

What is the output of the following Java code?

Medium
public class Example {
    public static void main(String[] args) {
        String str = "Hello";
        str.concat(" World");
        System.out.println(str);
    }
}

What is the output of the following Java code?

Author: EL Mostafa FadiliStatus: PublishedQuestion passed 130 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!