11. Object-Oriented Programming: Inheritance

Say not you know another entirely, till you have divided an inheritance with him.

Johann Kasper Lavater

This method is to define as the number of a class the class of all classes similar to the given class.

Bertrand Russell

Good as it is to inherit a library, it is better to collect one.

Augustine Birrell

Save base authority from others’ books.

William Shakespeare

OBJECTIVES

In this chapter you’ll learn:

Image  How inheritance promotes software reusability.

Image  The concepts of base classes and derived classes. ...

Get C# 2008 For Programmers Third Edition Deitel® Developer Series now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.