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 meta-annotations?
What java ide should I use?
What is floor in java?
Explain the difference between the public, private, final, protected, and default modifiers?
What are JVM.JRE, J2EE, JNI?
How can you share data between two thread in Java?
What is variable declaration and definition?
How do you check if a string is lexicographically in java?
what is predefined function in java?
How do you sort words in java?
Can we create a constructor in abstract class?
What's a method in programming?
What happens when main () method is declared as private?
Why set is used in java?
Why do we need singleton?