Browse Source

Unser zweiter Commit!

testbr
Emma Nagelschmidt 3 years ago
parent
commit
3143da5096
  1. 4
      ArrayManipulation.java

4
ArrayManipulation.java

@ -13,6 +13,10 @@ public class ArrayManipulation {
return arr; return arr;
} }
public static int[] removeFirst(int[] arr) {
int[] result = new int[3];
return int[] result = Arrays.copyOfRange(arr, 1);
}
public static void main(String[] args) { public static void main(String[] args) {
int[] arr = {1,2,3,4,5}; int[] arr = {1,2,3,4,5};

Loading…
Cancel
Save