In this lab you will be writing five methods that operate on arrays. The five methods you must implement are as follows:
Consider the following examples:
array: {1, 2, 3}; offset: 2
returns: {3, 1, 2}
array: {1, 4, 9}; offset: 1
returns: {4, 9, 1}
The offset is 1, so the array is copied starting from index 1 (which is 4), then continuing to 0 (which is 1)
array: {0, 5, 9, 20}; offset 0
returns: {0, 5, 9, 20};
The offset is 0 so the array does not change.
The skeleton file ArrayUtils.java is provided for you as a starting point. Edit the Program Header to reflect your name and due date and implement each of the methods as described above. It is a good idea for you to add code to the main method to test the functions you've implemented. You will not be graded on any testing code you submit that is part of main.
For this assignment you will need to create a Jar file that contains your source code for ArrayUtils.java. Follow these instructions
for creating a Jar file.
The Jar file you submit must be named yourlastname_lab7.jar, where yourlastname is your last name