Task completed on Java