Kizspy | Question: 43
(Choose 1 answer)
Choose correct answer about anonymous class?
A. A class that is defined without a name and can be instantiated only once
B. The purpose of using an anonymous class is to provide a way to implement an interface or extend a class
without explicitly defining a named class.
C. An anonymous class is created using the "new" keyword followed by the name of the interface or class
being implemented or extended.
D. Anonymous classes are like local classes except that they do not have a name.
E. All of the others