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
What are constructors in java?
What is the use of predicate in java 8?
What is the difference between the font and fontmetrics classes in java programming?
What is the benefit of abstract class?
What is exception hierarchy in java?
What do the thread?class methods run() and start() do?
How is Object Oriented Programming different from Procedure Oriented Programming?
What is final keyword in java? Give an example.
What is an class?
What is the history of java?
Explain polymorphism citing an example.
Explain an intermediate language?
How many types of keywords are there?
Explain spliterator in java8?
What does escaping a character mean?