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
In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?
Explain java coding standards for interfaces?
What is a treeset in java?
What is the difference between member variables initialization and assignment in a constructor?
What are default methods ?
How do you change an int to a string?
Which is illegal identifier in java?
What do you mean by pointer value and address?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
What is used of static keyword in java?
Where is stringbuffer stored?
What is main in java?
What are the 7 types of characters?
Why java strings are immutable in nature?
What are local variables?