Abstract
One of the new features introduced back in version 1.1 of the JDK was inner classes. These are classes defined with the scope of an outer (or top-level) class. These inner classes can be defined within the main body of a class, within a block of statements or (anonymously) within an expression. This chapter introduces inner classes and considers where and when they should be used.
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). Inner Classes and Reflection. In: Java and Object Orientation: An Introduction. Springer, London. https://doi.org/10.1007/978-1-4471-0125-3_11
Download citation
DOI: https://doi.org/10.1007/978-1-4471-0125-3_11
Publisher Name: Springer, London
Print ISBN: 978-1-85233-569-4
Online ISBN: 978-1-4471-0125-3
eBook Packages: Springer Book Archive