An anonymous class is like a local class or an inner class, but without a name. You can use an anonymous class for declaring and instantiating a class simultaneously.

Suggest An Answer

No suggestions avaliable!