Ad Code

Anonymous class as inheritance and extending a class


Can an anonymous class be declared as implementing an inheritance and extending a class

No. An anonymous class can extend a class or implement an interface, but it cannot be declared to do both
Reactions

Post a Comment

0 Comments