Sollicitatievraag bij JPMorganChase

How do you remove duplicates in integer array without using any java util framewworks?