結果 : java program to print the duplicate elements of an array