Program structure and behavior

Program illustrates the use of local classes and anonymous classes.

It illustrates

The program compares the local class with an anonymous class designed to accomplish the same purpose.

The program also illustrates the use of instance initializers as an alternative to constructors.

File: bl.htm [Next] [Prev]