Java Hello World
School Accuracy: 75.5% Submissions: 1503 Points: 0

Display the most famous phrase of beginning any programming language, "Hello World" (without Quotes).

Example:

Input:
Output:
Hello World 
Explanation:
Print Hello World on a single line.

Your Task:  
You don't need to read any input. Your task is to complete the function printHelloWorld() which do not takes any input and prints 'Hello World'.

Expected Time Complexity: O(1)
Expected Auxiliary Space: O(1)

to report an issue on this page.

Editorial

We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?

Yes

All Submissions

My Submissions:

Login to access your submissions.

Output Window