A set of java code relating to Java: how to programme