Homework of Introduction to Java Programming