結果 : iterate through all characters in a string java