This  is my JAVA assignment