practice jdk7 part2