Compare the Interface specifications for the List and Sorted List Abstract Data Types then answer the following questions. The relevant interface files are provided via the first page of the module - Introduction to sorted lists.
Which of the following is not true?
SortedListInterface includes the method definition, T replace(int givenPosition, T newEntry), while ListInterface does not
- ListInterface includes the method definition, add(int newPosition, T newEntry), while SortedListInterface does not
- ListInterface includes the method definition, T replace(int givenPosition, T newEntry), while SortedListInterface does not.
- SortedListInterface includes an additional remove method definition, boolean remove(T anEntry).
- The SortedListInterface includes a new method, int getPosition(T anEntry).
There are no hints for this question