Pergunta de entrevista da empresa Phenom

Q: Java Program to find the occurances of each character in a given word?