@@ -0,0 +1,557 @@
+package by.vorokhobko;%0A%0A/**%0A* Turn.%0A*%0A* Class Turn reverses the elements of an array part 001, lesson 5.%0A* @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A* @since 20.12.2016.%0A* @version 1.%0A*/%0A%0Apublic class Turn %7B%0A%09/**%0A%09* The class field.%0A%09* The method reverses an array.%0A%09* @param numbers - numbers.%0A%09* @return tag.%0A%09*/%0A%0A%09public int%5B%5D back(int%5B%5D numbers) %7B%0A%09%09for (int i = 0; i %3C numbers.length / 2; i++) %7B%0A%09%09%09int step = numbers%5Bi%5D;%0A%09%09%09numbers%5Bi%5D = numbers%5Bnumbers.length - i - 1%5D;%0A%09%09%09numbers%5Bnumbers.length - i - 1%5D = step;%0A%09%09%7D%0A%09%09return numbers;%0A%09%7D%0A%7D

add class Turn