upload homework OOP in Java