We use cookies to improve your experience on our site and to show you personalised advertising. Please read our cookie policy and privacy policy.
import java.io.*;
class helloworld {
public static void main(String args[ ]) {
/* Display text on the screen */
System.out.println("Hello World!");
}
}
/* Output */
/* Hello World! */