Can we declare an anonymous class as both extending a class
and implementing an interface?
Answer Posted / devarathnam
Hi... Yes we can declare anonymous class either extending a
class or implementing an interface but not both.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the output of the below java program?
What is meant by collection in java?
What are the limitations of procedural programming approach?
What is singletonlist in java?
What is matcher in java?
How to make a non daemon thread as daemon?
What is final keyword?
What is oops in java?
What is exception handling in java?
What is module in oop?
Can a serialized object be transferred via network?
Can a class be final?
What type of variable is error flag?
What happens if we don’t override run method ?
When is the finally clause of a try-catch-finally statement executed?