+ 2
Why we use anonymous class in program?
2 Respuestas
+ 1
Well, if you want to change slightly one of the objects of given class, you can use annonymous class. For instance you can override one of the methods in you an object.
- 1
From my point of view you can declare and instantiate class at the same time.