結果 : how to for loop a string in java