Can we declare an anonymous class as both extending a class
and implementing an interface?
Answer Posted / devnaga
Yes. U r right. U can fin it from
http://dev.fyicenter.com/interview/java_8.html
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Have you ever used hashtable and dictionary?
why not override thread to make a runnable? : Java thread
how do I create a runnable with inheritance? : Java thread
Where are the local variables stored?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
What is meant by object oriented programming – oop?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What is the difference between arraylist and hashset in java?
What is the maximum size of arraylist in java?
What does string [] args mean?
How do you calculate roots in java?
What are alternatives to java serialization?
Explain the importance of throws keyword in java?
How do you use spaces in java?
What do you meant by active and passive objects?