0
Can anyone say about anonymous class?!!
4 Respostas
+ 6
Anonymous is a inner class declared without class name , it is used to override the method or interface
+ 1
I think they are the way to extend the classes!
Is that right?!
+ 1
Anonymous classes are like local classes except that they do not have a name. Use them if you need to use a local class only once. (https://docs.oracle.com/javase/tutorial/java/javaOO/anonymousclasses.html)
- 2
just read information from book and that's all