O'Reilly logo

C# Primer Plus by Klaus Michelsen

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

Chapter 17. INHERITANCE PART II: abstract FUNCTIONS, POLYMORPHISM, and INTERFACES

You will learn about the following in this chapter:

  • abstract functions and abstract classes

  • Polymorphism and why abstract functions and abstract classes are important for implementing polymorphic software

  • The dynamic binding mechanism, which is fundamental to polymorphism

  • The advantages of polymorphism and examples of how it empowers programmers

  • How type information is lost through up casting and how it can be regained through down casting by the use of the cast operator, the is operator and the as operator

  • The System.Object class, from which all classes are ultimately derived

  • Method hiding and method overriding

  • Versioning and how it is supported in C#

  • Multiple inheritance ...

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