11. Object-Oriented Programming: Inheritance

Objectives

In this chapter you’ll:

Image Understand how inheritance promotes software reusability.

Image Create a derived class that inherits attributes and behaviors from a base class.

Image Override base-class methods in derived classes.

Image Use access modifier protected to give derived-class methods access to base-class ...

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.