Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

Can we declare an anonymous class as both extending a class and implementing an interface? 

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