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 |
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What does java edition mean?
Is map ordered in java?
If your team member writes code with lots of static variables and static methods, will it cause any side effects?
What are parsers? Dom vs sax parser.
Is JRE required to compile Java files ?
What are the differences between string and stringbuffer?
what is optional in java 8?
What is the difference between the paint() and repaint() methods in java programming?
what is difference Between Core Java and advance java
60 Answers HCL, HP, Sambalpur University, TCS, Vensai Technologies, Wipro,
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
In java, what is the difference between method overloading and method overriding?