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
Can we use catch statement for checked exceptions when there is no chance of raising exception in our code?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
What are the six ways to use this keyword?
What are the advantages and disadvantages of object cloning?
What is run time allocation?
Explain about class in java?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
Which method returns the length of a string?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
What is the use of isempty in java?
how we can create packages in java?
What is a dynamic array java?
Is arraylist an object in java?
Write a program in java to establish a connection between client and server?