Exercises from Introduction to Java programming 10th edition Y. Daniel Liang