Can an anonymous class be declared as implementing an
interface and extending a class?
Answer Posted / janet
An anonymous class may implement an interface or extend a
superclass, but may not be declared to do both.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Can long be null in java?
What is qms certification?
What is the difference between && and & in java?
What is difference between class and object in java?
Explain throw keyword in java?
What is private static class in java?
Why is java so important?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
What is nullpointerexception?
Can you achieve runtime polymorphism by data members?
How does singleton class work?
Explain the term virtual machine?
What is the difference between a window and a frame in java programming?
What is high level language in computer?
How to write custom exception in java?