結果 : how to iterate through char array in java