Tradition dictates that every introduction to computer programming start with the same example – a program to display:
hello, world
And if you’re going to honor tradition, you should display the greeting as it first appeared in the book The C Programming Language.
So this year when I decided to teach my twelve and fourteen year old how to program, we started with:
public class HelloWorld { public static void main(String[] args) { System.out.println("hello, world"); } }