What would have happened if you preceded the call to insertin the methodinsertSortedby this->instead of LinkedList::? Explain.
What will be an ideal response?
The call this->insert(newPosition, newEntry) would call the overriding version of insert, which SortedListIsA defines, instead of LinkedList’s method insert. As a result, insertSorted would return false.
Computer Science & Information Technology
You might also like to view...
If you reuse a macro name, the new macro will replace the original macro
Indicate whether the statement is true or false
Computer Science & Information Technology
The ____________________ order imposes an order on elements based on any criterion you choose.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology