NTUST CS4001310 ProgrammingLanguage Java Homework