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