Can we declare an anonymous class as both extending a class
and implementing an interface?
Answer Posted / ravikiran
Yes
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Enlist few advantages of inheritance?
Why can't we override private static methods?
What is break and continue statement?
What is the use of coding?
Can we override constructor in java?
How much is a java license?
How are destructors defined in java?
What is a generic code?
Explain about join() method?
When will you define a method as static?
What is a nested structure?
Can a java program have 2 main methods?
Is void a data type?
When parseint method can be used?
Is null a string or object in java?