Abstract
As already explained in Chapter 9, object—oriented programming is mainly characterized by encapsulation, dynamic binding, and inheritance. The classes introduced in Chapter 11 showed implementations of ADT’s and serve for the realization of encapsulation. In this chapter we give a detailed description of the fundamental and powerful principles of inheritance and their implementation in C++. We introduce the concepts for both simple and multiple inheritance. With the use of inheritance, the real world dependency structure of objects can be mapped into a C++ class hierarchy in a natural manner.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1997 Springer Fachmedien Wiesbaden
About this chapter
Cite this chapter
Paulus, D.W.R., Hornegger, J. (1997). Inheritance for Classes. In: Pattern Recognition of Images and Speech in C++. Vieweg Advanced Studies in Computer Science. Vieweg+Teubner Verlag, Wiesbaden. https://doi.org/10.1007/978-3-663-13991-1_13
Download citation
DOI: https://doi.org/10.1007/978-3-663-13991-1_13
Publisher Name: Vieweg+Teubner Verlag, Wiesbaden
Print ISBN: 978-3-528-05558-5
Online ISBN: 978-3-663-13991-1
eBook Packages: Springer Book Archive