O'Reilly logo

C# 2010 for Programmers, Fourth Edition by Harvey M. Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12. OOP: Polymorphism, Interfaces and Operator Overloading

Objectives

In this chapter you’ll learn:

• How polymorphism enables you to “program in the general” and make systems extensible.

• To use overridden methods to effect polymorphism.

• To create abstract classes and methods.

• To determine an object’s type at execution time.

• To create sealed methods and classes.

• To declare and implement interfaces.

• To overload operators to enable them to manipulate objects.

One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them.

John Ronald Reuel Tolkien

General propositions do not decide concrete cases.

Oliver Wendell Holmes

A philosopher of imposing stature doesn’t think in a vacuum. Even ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required