/* The main unit in Java is the "class." A class is a set of variables and functions (also called "methods"). All programs in Java are contained in one or more classes. */ public class HelloWorld { // The main method is where the program starts. public static void main(String[] args) { // This method prints text to the screen IO.print("Hello World!\n"); } }