結果 : how to iterate through a char array in java