Java Class Assigments