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
What are the main uses of the super keyword?
What is the difference between compile-time polymorphism and runtime polymorphism?
Why does it take so much time to access an applet having swing components the first time?
What is an immutable object? How do you create one in java?
How is a structure different from array ?
How do you check if an arraylist is not empty?
What is final int?
Explain oops concepts in detail?
Can we override private constructor in java?
In java, how many ways you can take input from the console?
Can we override constructor in java?
What is used of static keyword in java?
What is the difference between a vector & an array list?
Is main an identifier?
What is use of a abstract variable?