Phenom Interview Question

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