Assignment: #ArrayPlay Due: 09/16/02018 Points: 4

Specification

Copy the program ArrayPlay.java to your computer and implement the methods named checkIfSorted() and reverse(). The TBI (To Be Implemented) method comment blocks document what the methods do.

The output of the program must match the following.

[7,7,3,9,0,5,6] (not sorted) [0,3,5,6,7,7,9]
[9,8,8,5,3,0] (descending sorted order) [0,3,5,8,8,9]
[1,5,6,6,6,7,9] (ascending sorted order)
[1,9,3,5,2,7,3,5] (not sorted) [1,2,3,3,5,5,7,9]
[0] (ascending sorted order)
[1,2] (ascending sorted order)
[3,2,1] (descending sorted order) [1,2,3]
[5,5,5,5,5] (ascending sorted order)