結果 : how to compare two strings in java using for loop