Java lab1