Why we can't create the object of abstract class ?
Answer Posted / rajesh kamble
abstract class contain one or more pure vertual
function ,this types of class contain only the declaration
of method ,it do not have defination of any method,when we
define any abstract class object it not allocate the memory
to any object , and when any object of class will created
it first initialise memory for class and then methods. and
look for the defination for that, for that point of view
when we create object of any abstract class method
defination will not present and memory cannot be allow to
object. any by the compiler it cause the error.
| Is This Answer Correct ? | 8 Yes | 7 No |
Post New Answer View All Answers
Define c# delegate?
What is difference between a function and a method?
What is datasource c#?
What is xslt in c#?
Explain what are the steps for creating clr trigger?
What is private protected in c#?
How many bytes is a long c#?
Can you prevent a class from being instantiated?
What are extender provider components?
Classes and structs can be declared as static, is this statement true or false?
What is the difference between delegates and events in c#?
Is vs as c#?
what is the meaning of Object lifetime in OOPS
Explain what is the smallest unit of execution in .net?
What is inline function in c#?