AP Computer Science Java Activity