Abstract
The main objective of inheritance is to promote reusability and eliminate redundancy (of code). Here a child class obtains the features of its parent class. By parent class we mean the class which is at the higher level in the class hierarchy compared to another class (which is termed as a child class)
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
© 2016 Vaskaran Sarcar
About this chapter
Cite this chapter
Sarcar, V. (2016). Inheritance. In: Interactive Object Oriented Programming in Java. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2544-8_3
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2544-8_3
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2543-1
Online ISBN: 978-1-4842-2544-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)