結果 : java program to count the frequency of characters in a string