結果 : java program to check whether array contains duplicates