Exercise 1.3 Liang Java 8E Comprehensive Version