Java Coding Problems Chapter 1: Strings, Numbers, and Math Problem Statement Write a program that counts duplicate characters from a given String.