public class ArrayOperations { // Delete the value at the given position in the argument array, // shifting all the subsequent elements down, and storing a 0 // as the last element of the array. public static void delete (int [ ] values, int pos) { if (pos<0 || pos>=values.length) { return; } // your code goes here } // Insert newInt at the given position in the argument array, // shifting all the subsequent elements up to make room for it. // The last element in the argument array is lost. public static void insert (int [ ] values, int pos, int newInt) { if (pos<0 || pos>=values.length) { return; } // your code goes here } }