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
How many destructors can a class have?
Can an int be negative c#?
What is the purpose of private constructor in c#?
how to implement a web service in .net
What are methods in C#?
To allow an element to be accessed using a unique key which .NET collection class is used ?
Name some properties of thread class.
How can I create image pieces/sub image?
How does inheritance work in c#?
Explain the difference between “system.array.clone()” and “system.array.copyto()” in c#?
What is a console in c#?
What does static mean in c sharp?
Is there an equivalent to the instanceof operator in visual j++?
What is a protected class in c#?
what is the index value of the first element in an array?