結果 : java loop through each character in string