Can an anonymous class be declared as implementing an
interface and extending a class?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / bindu
no.if the private class extends abstract class.then v cant
create object to that.
| Is This Answer Correct ? | 0 Yes | 2 No |
what is purpose of collections.unmodified() method..?
What is variable length arguments in java?
What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?
What is a byte string?
Why cant we define System.out.println() inside a class directly?
what is the use of clone method? why user cant overwrite in sub class without its proper defination.
What is the difference between == and === javascript?
Name the types of mouse event listeners ?
What are the drawbacks of reflection?
Can classes declared using the abstract keyword cab be instantiated?
Where will it be used?
Explain when we should make an instance variable private.