Answer Posted / dhawal
answer no 1. is correct programatically but actually
instantiates means obtain the behavier of object we can do
this only by creating object of class ,object has state and
behaviour, in answer 1,we transfer state first and then
write behaviour in the class,then instantiate that class ie
like dynamic method dispatch.means therotically we can not
instantiate Interfaces
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What about interthread communication and how it takes place in java?
What is the use of coding?
Explain the difference between jvm and jre?
What is the difference between preemptive scheduling and time slicing in java programming?
What are the 6 boolean operators?
What is the major advantage of external iteration over internal iteration?
Why can't you declare a class as protected?
How big is a 32 bit integer?
Is the milky way in a void?
If try block is successfully executed, Then Is Finally block executed?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
What is the difference between equals() and == in java?
What will happen if static modifier is removed from the signature of the main method?
What is the difference between a factory and abstract factory pattern?
How do you control extraneous variables?