Abstract
In this chapter we look more deeply at the topic of inheritance, the basic concepts of which were covered in Chapter 3. Inheritance can be done in two ways: by subclassing existing classes and by implementing interfaces. The major goal of inheritance is reuse, but the two approaches achieve this goal in different ways.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Universities Press (India) Pvt. Ltd
About this chapter
Cite this chapter
Ramnath, S., Dathan, B. (2011). Exploring Inheritance. In: Ramnath, S., Dathan, B. (eds) Object-Oriented Analysis and Design. Undergraduate Topics in Computer Science. Springer, London. https://doi.org/10.1007/978-1-84996-522-4_9
Download citation
DOI: https://doi.org/10.1007/978-1-84996-522-4_9
Publisher Name: Springer, London
Print ISBN: 978-1-84996-521-7
Online ISBN: 978-1-84996-522-4
eBook Packages: Computer ScienceComputer Science (R0)