How to Extract and Sum Digits in a String? | JAVA INTERVIEW QUESTIONS