task6 java doc