You will make you very own ArrayUtil class! Implement the following methods without using any built in methods. Happy Hacking!
isEmpty(array)
Returns true if the array is emptyappend(original, value)
Adds the new value to the end and returns the arrayclone(original)
Copies the array and returns the copysubArray(original, from, to)
Copies the array values between the specified range and returns the range of values as a new arrayequals(arr1, arr2)
Returns true if two arrays are equalfill(int[] original, int value)
Sets all the positions in an array to the given value and returnsindexOf(original, value)
Returns the index of the first occurrence of the value in the array, -1 if the value is not foundremove(original, value)
Copies the array, removes the first occurrence of the value in the array, and returnsreverse(original)
Reverses the order of the elements in the array