+ 2

What is mean by java anonymous-classes?

28th Jan 2018, 2:18 PM
Gobinath
3 Réponses
28th Jan 2018, 2:30 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 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.
29th Jan 2018, 4:27 PM
TheSickBoy
TheSickBoy - avatar
+ 1
explain with code
2nd Feb 2018, 11:56 AM
Krishnakant Purohit
Krishnakant Purohit - avatar