結果 : remove duplicate elements from array without using inbuilt function in java