Ah. Ok, so what you will need to do is first of all put a parameter for your constructor that gives it the original list of numbers.
public PhoneBook(TreeSet<Integer> numbers)
The TreeSet...
Type: Posts; User: helloworld922
Ah. Ok, so what you will need to do is first of all put a parameter for your constructor that gives it the original list of numbers.
public PhoneBook(TreeSet<Integer> numbers)
The TreeSet...
That's not enough information for us to figure out what is wrong. Is the variable numbers being setup in the super constructor, or is it being passed to your constructor for duplicating? Do you want...