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

Answer Posted / devnaga

Yes. U r right. U can fin it from
http://dev.fyicenter.com/interview/java_8.html

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are keyboard events?

603


How to pass arraylist to stored procedure in java?

538


What are benefits of java?

550


What are the differences between string, stringbuffer and stringbuilder?

513


How to make object serializable in java?

540






Is an integer an object?

512


What is maximum size of arraylist in java?

486


How do you declare a destructor in java?

496


What is collection api?

602


What is java command?

562


Does java support multiple inheritance or not?

593


What is locale in java?

571


Which method cannot be overridden in java?

585


What are static blocks in java ?

603


Is java se free?

518