結果 : program to find occurrence of character in string in java