Using j Grasp and the Software Development Kit, write a program in response to the following prompt:
Write a method, reverseDigit, that takes an integer as a parameter and returns the number with its digits reversed. For example, the value of reverseDigit(12345) is 54321. Also, write a program to test your method.