This is the test case while i am reading 《Thinking in java》