Create a static method that takes an array of integers as a parameter. The method should reverse the order of elements in the array. It should not return anything. In your test code, create the array and print it's contents on a single line. Then call the reverse method and print it again.
Use a switch statement and a stack to solve this problem in LeetCode.