Skip to content
Sign in
General Knowledge

Snippet: System.out.println(“Hello World”)?

Tap an option to check the answer. You can also press A–D.

Explanation
System.out.println() is a Java statement used to print output to the console.C++ uses cout << "Hello World";.Python uses print("Hello World").JavaScript uses console.log("Hello World");. This syntax is specific to Java’s standard output system.