Rename Ex2.java to removeDuplicatesarray2