Only one object

An anonymous class has no name.

The definition and instantiation of the class appear in a single expression.

Therefore, only one instance of each anonymous class can be created.

If you need more than one instance of the class,

File: ar.htm [Next] [Prev]