Conditional Statement Practice Question Java