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 MostafaStatus: PublishedQuestion passed 115 times
Edit
2
Community Evaluations
developer avatar
Manuvai
04/04/2024
Hi @El Mostafa, could you please * put your code between "```" sections for Markdown formatting ? * add the translation of : - the question - the possibilities of answer - the explanation ?
developer avatar
EL Mostafa
05/04/2024
c bon c fait merci pour votre remarque