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 and Polymorphism

Chapter 12, “Inheritance,” discusses polymorphism, which offers a common infrastructure to different types of objects. In the discussion, interfaces find their natural habitat. They provide a common set of members that classes need to implement if they need to perform a particular series of tasks. A typical example is the IDisposable interface that you met in Chapter 8. All classes that need to provide a mechanism for releasing resources implement that interface, which exposes a set of common members. Another example is the ICloneable interface that defines a Clone method that classes can implement to provide the capability to copy a class instance. You can easily understand that interfaces are generic; they are not ...

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