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
Define the term immutable ?
What is an escape sequence?
Are private members inherited in c#?
What is dll file in c#?
Why do we need constructor in c#?
Is datetime immutable c#?
What is mean by c#?
What is typeof undefined?
Is string primitive?
What is the difference between serialization and deserialization in c#?
What is difference between yielding and sleeping?
Can interface inherit class in c#?
What is difference between gridview and form view?
What is the difference between internal and private in c#?
Explain how do I get deterministic finalization in c#?