basic learning tips and exercise of inner class in chapter 10