Can we create instance for Abstract class?
Answer Posted / madhu
no,we cannot create instance for abstract class but we can
create reference for abstract class.A reference doesnot
contain its own memory like object when it is created, but
shares the memory of the class.
we can create an object for derived class.we can use
this object to call the methods.
| Is This Answer Correct ? | 27 Yes | 6 No |
Post New Answer View All Answers
What does exclamation mark mean in access query?
What is default boolean value in c#?
How many bytes is a long c#?
Wcf and what is difference between wcf and web services?
What is the usage of transponders?
What are some of the commonly used commands in sqlcommand?
What is datagrid c#?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
What are the drawbacks of extending an interface as opposed to extending a class?
What is the difference between Singleton design pattern and Factory design pattern?
What is uint16?
Is there hashmap in c#?
Is static thread safe?
What is ado c#?
What are the different types of classes?