Update Task_11.java

Improvement