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 is deadlock? : Java thread
What are conditionals and its types?
How to create a base64 decoder in java8?
what is thread? What are the high-level thread states? : Java thread
What is a variable analysis?
Why inputstreamreader is used in java?
What is the difference between == and === javascript?
What environment variables are required to be set on a machine in order to run Java programs?
How many types of assembly languages are there?
Can I uninstall java?
Explain the Propertie sof class?
Explain about map interface in java?
What is unmodifiable list in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
Difference between abstract and concrete class ?