Java Class Assignments