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 is the use of parse function in java?
What are loops in java? What are three types of loops?
What is the size of boolean variable?
Can You Have Virtual Functions In Java?
What is the memory leak in java?
Should a main method be compulsorily declared in all java classes?
What is anti pattern in programming?
Write a program to print the pattern given below
How to sort an array from smallest to largest java?
What about main thread in java?
What does function identity () do?
What does jre stand for?
How do you declare an empty string?
What are abstract classes and anonymous classes?
What is the java reflection api? Why it’s so important to have?