Thinging in java chapter2:test 1 to 7