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
What is the difference between string and string in c#?
What is transparent caching with aop ?
Can you inherit from a sealed class?
Can arraylist hold primitive types?
What you mean by inner exception in c#?
What is predicate c#?
In how many ways you can overload a method?
Is vs as c#?
What is a console in c#?
If multiple interfaces are inherited and they have conflicting method names; What will happen ?
What is use of a HashTable in .NET?
What is a delegate in c#?
what class is underneath the sortedlist class?
What is the difference between abstraction and encapsulation in c#?
What is the delegates in c#?