Abstract
In this chapter, we consider some of the language features you saw in the last section of the book from an object-oriented point of view. This chapter discusses how you should use classes and what you should, and should not, use them for. It considers how you should use inheritance, abstraction and subclasses and highlights the use of constructors. It also tries to explain the use of (the oft misunderstood) mai n method.
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
Rights and permissions
Copyright information
© 2002 Springer-Verlag London
About this chapter
Cite this chapter
Hunt, J. (2002). Classes, Inheritance and Abstraction. In: Java and Object Orientation: An Introduction. Springer, London. https://doi.org/10.1007/978-1-4471-0125-3_9
Download citation
DOI: https://doi.org/10.1007/978-1-4471-0125-3_9
Publisher Name: Springer, London
Print ISBN: 978-1-85233-569-4
Online ISBN: 978-1-4471-0125-3
eBook Packages: Springer Book Archive