can you create interface instance ?
Answer Posted / guest
Hi all,
I think Udaya is right and i have tested in the same and its
working. But if you think about the way JAVA has to make
instances(e.g. A a = new A()) will not work. It will give
you compilation error. So there is something we are not able
to see. Even I am trying to get what this example actually
working.
Feel free to update me if I am wrong...☺
| Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
Explain about map interface in java?
How do I write a self declaration?
What happens when I use / and % with a negative numerator?
Why main() method is public, static and void in java ?
What is the abstract class?
What is prefix of a string?
What is the difference between the paint() and repaint() methods?
What is string length in java?
Explain about static nested classes in java?
Where is the singleton class used?
How do you write methodology?
What do you mean by boolean?
What is map java?
How to create packages in java?
What are recursive functions?