Domanda di colloquio di Aristocrat

Java program to find occurrences of each character in string