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

Why deletion in linkedlist is fast than arraylist?

533


State the main difference between c++ and java?

588


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7412


What is double in java?

510


Which is dependent variable?

490






How big is a boolean?

571


What is ph and buffers?

516


What is comparator in java?

549


What is pangram in java?

507


Can we write a class without main method in java?

481


Is java free for commercial?

489


What are access specifiers in java ?

588


How many types of keywords are there?

559


In java how do we copy objects?

547


What is array class in java?

592