Java - Practical task - 1 - complete