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
Does a loop recorder have to be removed?
Explain how obfuscator works in .net
What is garbage collector and where should you use in .NET?
What is dapper in c#?
What is the difference between an application domain and a process?
What is the keyword used to prevent a class from being inherited by another class?
What is encapsulation in csharp?
What is the difference between list and arraylist c#?
From which base class do all Web Forms inherit from?
How do you use nullable?
Do unused Namespaces in c# affect run-time performance?
What is data binding c#?
what is difference between destruct or and garbage collection ?
What is default class in c#?
Explain what are three test cases you should go through in unit testing?