java-programming-24hour-trainer - lesson 6