Examples of java Programs