the 1st java practice