Can we declare an anonymous class as both extending a class
and implementing an interface?
Answer Posted / imtiyaz
upto my knowledge anonymous class can not extend or
implement another class if so can anyone give the example
Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
How do listeners work?
Do I need java for windows 10?
How to change the priority of thread or how to set the priority of thread?
How do I convert a string to an int in java?
What is dynamic binding(late binding)?
If we don’t want some of the fields not to serialize how to do that?
What is tcp and udp?
What is hashmap and map?
Can we have multiple classes in a single file?
What is difference between local variable and global variable?
What is final keyword?
What is the difference between C++ and Java and your preferences?
What is difference between hashset and hashmap?
What is visibility mode?
What is the use of arraylist in java?