Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is difference between new and override in c#?

924


How does bubble sort work?

957


Which config file has all the supported channels/protocol?

1036


What is literal in c#?

949


What is a delegate? Explain.

994


What is the difference between finalize() and dispose()?

976


Why should I use interface in c#?

1027


What is instantiating a class?

983


What are mutable and immutable types in c#?

1015


What are the Types of configuration files and their differences

1134


What is the difference between malloc () and new?

1129


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

978


What is CASPOL?

1093


Does c# have its own class library?

1026


Why do we use threads in c#?

1037