w e it, it’s safer to stay in Protected View Enable Editing MAC 286 Please submit…

w e it, it’s safer to stay in Protected View Enable Editing MAC 286 Please submit your work as.java file on the blackboard. Write a method using the prototype below, that returns the sum of the digits of the integer specified as an argument. Obviously, this method should use recursion. int sumo Digits (int x); If x is 234, the function should return 2+3+4, that is, 9. If x is 12, the function should return I + 2, which is 3. If x is 39, the function should return 12. If x is negative, ignore the minus sign. For example, -12 and 12 both return 3. Use recursion.