Java Coding Problems Chapter 1: Strings, Numbers, and Math Problem Statement : Counting Duplicate Characters Write a program that counts duplicate characters from a given String. Sample Input 1 "aabcc" Sample Output 1 {a=2, b=1, c=2} Source Code Main Class Test Class Question taken from the book "Java Coding Problems" by Anghel Leonard. Formatted and uploaded by dbc2201 Suggested Reading: HashMap (Java SE 18 & JDK 18) Managing the Content of a Map (dev.java)