July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Two situations are related to both inheritance and interfaces. The first scenario occurs when you create a class that derives from another one that implements an interface. In such a scenario, the derived class also inherits members implemented through an interface and does not need to implement the interface again. Moreover, if the base class contains members that are marked as overridable and implemented via an interface, the derived class can override such members if not private. The second scenario is a pure interface inheritance, in which an interface can inherit from another one. Continuing the previous examples, you can consider creating an IInvoice interface that inherits from IDocument and provides some more specific ...