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
Realized?
How do you use compareto method?
Which are the two subclasses under exception class?
What are desktop procedures?
what is the swingutilities.invokelater(runnable) method for? : Java thread
What is thread synchronization in java?
What is constant in programming?
What is default constructors?
What is a line separator in java?
Why pass by reference is not possible in java?
What are the three parts of a lambda expression?
What is data movement?
How does callback work in java?
What is a flag and how does it work?
Explain about transient variables in java?