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
What is array pointers ?
What is the use of protected in java?
How do you use substring in java?
According to java operator precedence, which operator is considered to be with highest precedence?
How to connect to a remote database using Applet?
Is oracle charging for java?
What is thread life cycle?
Explain java thread life cycle.
What is function overriding and overloading in java?
Can we override private method in java?
Does java allow overriding static methods ?
What is meant by structural programming?
How to create a custom exception?
What is the purpose of checked and unchecked exceptions in JAVA?
Explain about the main() method in java?