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
Can we access the non-final local variable, inside the local inner class?
What is prefix of a string?
Is object a data type in java?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
Do you need to import math in java?
What is a function in java?
What is the significance of continue jump statement? Explain with an example.
What are the different http methods?
Why webdriver is an interface?
Explain about the main() method in java?
What is the purpose of the file class in java programming?
What are the two ways of implementing multi-threading in java?
what is anonymous class in java?
What is the use of static methods?
Why hashset is used in java?