My university dept Java lab test codes.