reverse
Objective: Write program code to create, traverse, and manipulate elements in 1D array or ArrayList objects.
Complete the method reverse which reverses the order of the given list (parameter).
For example, if the list contained [1 2 3]
, the new order becomes [3 2 1]
.
The following are methods of a list that can be used to manipulate the contained data.
Type your solution
Skills Practiced:
3.C
3.D
4.A
4.B
Saved
Saved