What Does Unexpected Type Mean In Java