Examples of Java for students