Why we can't create the object of abstract class ?
Answer Posted / vijay
Hello all am vijay
I can say most of the above answers are partially correct
but not upto the mark.
The exact reason is .
The function address of the pure virtual function is not
put into VTABLE of the abstract class , hence VTABLE of the
abstract is incomplete.
So when the user tries to create an instance of the
abstract class the compliler will throw an error.
| Is This Answer Correct ? | 32 Yes | 7 No |
Post New Answer View All Answers
Why do we need delegates in c#?
What are the types of parameters in c#?
Explain the different types of delegates used in c#.
What is the difference between list and dictionary in c#?
What are the benefits of using the aggregate method in linq?
Define multicast delegate? How it be used?
What is expression tree with example?
What is data set in c#?
What is a statement c#?
How objects are stored in memory?
Are arrays immutable c#?
What is difference between ienumerable and list?
Are string objects mutable or immutable?
How long has c# been around?
What are the differences between static, public and void in c#?