Update Task6.java