Simple examples of Java exercices.