Complete the static toStringInReverse method in the MyMethods class so that it formats an array of int values in reverse order.

The array elements should be separated by commas, and the array should be enclosed in brackets.

For example, the call toStringInReverse(new int[] { 1, 2, 3, 4 }) should return the string "[4,3,2,1]".