CS174: OOP - Drills - Creating the reverse of an array
Developed by Professor Tralie and Professor Mongan.
Exercise Goals
The goals of this exercise are:- To do proper array indexing
- To use loops in concert with arrays
- To allocate and populate new arrays
getReverseArray
in ArrayUtils.java
to return a new array which is the reverse of a given array. For example, the array {0, 5, 2, 3} would turn into the array {3, 2, 5, 0}.
Welcome to our online modules system!
Be sure to log in with your Urinus ID
before you proceed.
For example, Professor Tralie's ID is ctralie.
If you are not an Ursinus student, that's fine!
Just make something up, and you can still run everything