Sample of Java Programs