How are anonymous (inner) classes used in Java?
Answers
Answered by
0
Anonymous Inner Class in Java. It is an inner class without a name and for which only a single object is created. An anonymous inner class can be useful when making an instance of an object with certain “extras” such as overloading methods of a class or interface, without having to actually subclass a class.
mark it as brainlist...
Similar questions