my java exercises based on http://www.ntu.edu.sg/home/ehchua/programming/java/J2a_BasicsExercises.htm