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 do you mean by Hash Map and Hash Table?
What is the protected method modifier?
What is difference between static and final?
What is the function of log?
Can we extend a class with private constructor?
Is java hard to learn?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What language is an assembler written in?
What is protected access modifier?
What is a function in java?
What are scalar data types?
Can arraylist contain null values?
Why are parameters used in functions?
what is encapsulation in java? Explain
What are keywords and reserved words in java?