Inner Classes and Reflection

  • John Hunt

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.

Keywords

Hunt Prefix Adapter 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag London 2002

Authors and Affiliations

  • John Hunt
    • 1
  1. 1.JayDee Technology Ltd.BathUK

Personalised recommendations