Abstract
Teacher starts the discussion: The main objective of inheritance is to promote reusability and eliminate redundancy (of code). The basic idea is that a child class can obtain the features/characteristics of its parent class. In programming terms, we say that a child class is derived from its parent class. Therefore, the parent class is placed at a higher level in the class hierarchy.
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
© 2018 Vaskaran Sarcar
About this chapter
Cite this chapter
Sarcar, V. (2018). The Concept of Inheritance. In: Interactive C#. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3339-9_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3339-9_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3338-2
Online ISBN: 978-1-4842-3339-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books