First Program to Print Hello World on Screen

				
					package practice;

public class HelloWorld {

	public static void main(String[] args) {
		
	    // This is a comment
		System.out.println("Hello World");

	}

}

				
			

Explaination – This is simple program to print hello world

Output – Hello World

Scroll to Top