Re-Implementing Interfaces in a Derived ClassIf you read the topic of Refactoring earlier in this chapter, you know that it's possible to create a base class that supports an interface, and then write derived classes from that base class. The derived classes will also support the interface. However, sometimes it makes sense to override one or more of the implementation methods in the derived classes. For that purpose you could re-implement the interface in the derived class. To re-implement the interface in a derived class:
Tip
|