11. Object-Oriented Programming: Inheritance
Objectives
In this chapter you’ll:
Understand how inheritance promotes software reusability.
Create a derived class that inherits attributes and behaviors from a base class.
Override base-class methods in derived classes.
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.