12. OOP: Polymorphism and Interfaces

Objectives

In this chapter you’ll:

Image Understand how polymorphism enables you to “program in the general” and make systems extensible.

Image Use overridden methods to effect polymorphism.

Image Create abstract classes and methods.

Image Determine an object’s type at execution time with operator is, then use downcasting to perform ...

Get C# 6 for Programmers, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.