Skip to Content
Visual Basic 2015 Unleashed
book

Visual Basic 2015 Unleashed

by Alessandro Del Sole
July 2015
Intermediate to advanced
1300 pages
87h 27m
English
Sams
Content preview from Visual Basic 2015 Unleashed

Interfaces Inheritance

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome

Publisher Resources

ISBN: 9780134196664Purchase book