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
Explain naming conventions for packages?
Can we clone singleton object in java?
What is the diffrence between inner class and nested class?
Why java is object oriented?
What is a Hash Table? What are the advantages of using a hash table?
What is the default access specifier for variables and methods of a class?
Tell me the Importent classes in net package?
What is charat java?
What is instance synchronization?
what state does a thread enter when it terminates its processing? : Java thread
What is stack explain?
What is ternary operator in java?
What is java in layman terms?
What is currentthread()?
Can static methods be inherited?