Exercise 2-5
javadoc