結果 : print repeating elements in array in java