
(6th ed, p205) / 6.12 (7th ed, p223) / 6.12 (8th ed, p229).
The class name must be ReverseArray and it must execute as a command line application.
You must write and invoke three methods for this program. The first method will populate the array with random numbers. This is its header:
public static void populateArray(int[] array)
The second method will reverse the array in place. This is its header:
public static void reverseArray(int[] array)
The third method will print the elements of the array. This is its header:
public static void printArray(int[] array)
Sample Output
Here is a screenshot of my code running.
ReverseArray output
Refer to the deliverables post for comment formatting and required program identification information.
Due Date:
Monday, November 14th, 8:00am