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
Is arraylist faster than linkedlist?
What is sealed class in c#?
How can an inner class access the members of outer class?
Explain the difference between const and static read-only?
Write one code example for compile time binding and one for run time binding? What is early/late binding?
Can we instantiate abstract class in c#?
What is difference between tostring() vs convert.tostring() vs (string) cast
Differentiate between sqlclient oledb and providers?
What is a template class?
Is comparator a functional interface?
What is the difference between list and array in c#?
What is an object and a class?
How string definitions will prevent escaping on backslashes in C#?
What are the characteristics of c#?
Explain the 3 types of properties in c# with an example?