Transcription: The List class declares virtual member functions that are overridden in DLList and SLList. When the client code is passed a reference to a DLList object or an SLList object, it treats the reference like a reference to a List object. When a member function is called in the client code, the appropriate definition is invoked thanks to the virtual function mechanism.