結果 : how to print string in java using for loop