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