Hi. I just need a method for my coding assignment.
/**
* Detects and removes duplicate values inside an array
* Calls the remove method each time it finds a duplicate
* @param array the list of String values containingduplicates
* @param numElements the current number of elements stored
* @return the total number of duplicates found
*/
public static int removeDuplicates(String[] array, int numElements){
return -1;
}
Expert Answer
An answer will be send to you shortly. . . . .