Find sum of all digits of given number/Integer (java /example)

Problem Statement ? Given a number or integer in java, we would like to calculate the sum of all digits. […]