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

How do I open the console window?

1030


What is reflection in c#?

908


What is Global Assembly Cache (GAC) and what is the purpose of it? (How to make an assembly to public? Steps) How more than one version of an assembly can keep in same place?

1050


How do I create a single-file assembly?

1024


What happens if you add duplicate elements to a set?

889


What is an inheritance ?Give an example in which inheritance is used?

1047


What is sqlcommandbuilder c#?

938


What is a destructor in c#?

983


Explain About multi level and multiple inheritance how to achieve in .net

1035


What is the usage of Enumeration in C# Programming and is it good to use or not ?

981


What does readonly mean in c#?

998


Is c# slower than java?

883


Which programming language is best for desktop applications?

941


What are the advantages of generics in c#?

906


Explain the difference between object type and dynamic type variables in c#?

939