結果 : iterate over each character in a string java