can you create interface instance ?
Answer Posted / jenith michael raj
This is simply anonymous inner class, he implements the
interface in that class, that is why its working
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we overload final method in java?
Is there any difference between nested classes and inner classes?
What is the relationship difference the canvas class and the graphics class?
Why parsing is done?
What is the difference between an array and an array list?
Can we have any code between try and finally blocks?
What are the problems faced by java programmers who don't use layout managers?
What is primitive array?
what is synchronization? : Java thread
Can we access instance variables within static methods ?
Discuss 2D arrays.
Can you pass functions in java?
How do you create an array in java?
Differentiate between static and non-static methods in java.
What are the 8 data types in java?