Abstract
Chapter 5 examined the first pillar of OOP: encapsulation. At that time, you learned how to build a single well-defined class type with constructors and various members (fields, properties, methods, constants, and read-only fields). This chapter will focus on the remaining two pillars of OOP: inheritance and polymorphism.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Troelsen, A., Japikse, P. (2021). Understanding Inheritance and Polymorphism. In: Pro C# 9 with .NET 5. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-6939-8_6
Download citation
DOI: https://doi.org/10.1007/978-1-4842-6939-8_6
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-6938-1
Online ISBN: 978-1-4842-6939-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)