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.

BY Best Interview Question ON 13 Jan 2019

Suggest An Answer