Exercises from the book "Liang Y.D. - Introduction to Java Programming, 9th Edition"