Can we declare an anonymous class as both extending a class
and implementing an interface?
Answer Posted / devnaga
No. An anonymous class can extend a class or implement an
interface, but it cannot be declared to do both
| Is This Answer Correct ? | 26 Yes | 0 No |
Post New Answer View All Answers
What is jvm? How its run?
How can you share data between two thread in Java?
What is a map in java?
Differentiate between overriding and overloading cases?
Is java a super set of javascript?
What is the advantage of functional interface in java 8?
How does multithreading take place on a computer with a single cpu in java programming?
Explain the difference between hashmap and hashtable in java?
What are the five major types of reference sources?
What is the difference between reader/writer and inputstream/output stream?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
Which is easier .net or java?
What are assembly attributes?
What is output buffer?
Why put method is idempotent?