Domanda di colloquio di WebMD Health

Count occurrences of character in a given string in java