/* A class with the first Java program */ public class HelloWorld { public static void main (String[] args) { // the main program System.out.println("Hello, World!"); } }