+ 2
What is mean by java anonymous-classes?
3 Réponses
+ 3
Java anonymous classes are the nested classes in Java and for which only one object can be created. it is anonymous because it has no name and it is useful when we want to override a method of a class or interface.
+ 1
explain with code