practice jdk7