my java practice.