java program to count the occurrences of each character

visit shbcf.ru