We want to implement a method that reverses the digits in an integer. For example, reverseDigits(3456) should yield 6543.

Use a recursive helper method reverseDigitsHelper. Here is a typical computation.

reverseDigitsHelper(3456, 0) 
= reverseDigitsHelper(345, 6) 
= reverseDigitsHelper(34, 65) 
= reverseDigitsHelper(3, 654) 
= reverseDigitsHelper(0, 6543) 
= 6543

Complete the following file:

MyMethods.java

public class MyMethods { public static int reverseInt(int value) { return reverseIntHelper(value, 0); } public static int reverseIntHelper(int partialValue, int partialReversedValue) { . . . } }