P44: Clarified Java solution.