Advertisement

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

Object Orientation Instance Variable Event Handler Public Class Class Inherit 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

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