Exercises in Java language