結果 : iterate through chars in a string java