How to write a recursive method for calculating sum of digits in Java

Published --