Java Exercises (NetBeans)