2 Commits

  1. 2
      src/ArrayManipulation.java

2
src/ArrayManipulation.java

@ -53,7 +53,7 @@ public class ArrayManipulation {
}
public static void main(String[] args) {
int[] arr = {1,2,3,4,5};
int[] arr = {6,7,8,9,10};
System.out.println(Arrays.toString(reverseArray(arr)));
System.out.println(Arrays.toString(removeFirst(arr)));
System.out.println(Arrays.toString(removeLast(arr)));

Loading…
Cancel
Save