Mon Aug 23 2021

Hello World

File Name: hello-world.java

import java.io.*;

class helloworld {
	public static void main(String args[ ]) {

		/* Display text on the screen */
		System.out.println("Hello World!");
	}
}


/* Output */
/* Hello World! */

We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.