@ -11,13 +11,13 @@ public class ArrayManipulation {
arr[arr.length - 1 - i] = tmp;
}
return arr;
// Liefert Array
public static void main(String[] args) {
int[] arr = {1,2,3,4,5};
System.out.println(Arrays.toString(reverseArray(arr)));
System.out.println("Hello");
public static int[] squareEach(int[] arr){
int[] back = new int[arr.length];