Completed 6

In java