What is Programming?


Simple Starter Program

The simplest possible Java program consists of 1 class, 1 method, and 1 statement.

    /**
     * Simple program example:
     * This is the simplest type of class that produces output.
     * It has 1 class, with a single method that has a single statement.
     *
     * @author Ann Instructor, 1 January 2016
     */
    public class VerySimpleProgram
    {
        /** The main function initiates execution of this program. */
        public static void main()
        {
            System.out.println ("Hello, world!");
        }
    }

Alyce Brady, Kalamazoo College