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...

When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
memory??

Answer Posted / veena

When a constructor is made private, object of that class
can not be created. That is called as Abstract class.
constructors can not be inherited. Moreover, when this
class is inherited, the base class object can not be
created. So we can not create the derived class object
also.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2464


What is encapsulation example?

1061


What is use of overloading?

1150


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4951


program for insertion ,deletion,sorting in double link list

2693


What is the real time example of encapsulation?

1070


What is meant by oops concept?

1044


What is the point of oop?

1192


What is polymorphism oop?

1067


Describe these concepts: Polymorphism, Inheritance and Abstraction.

1199


What are the two different types of polymorphism?

1145


What is static modifier?

1227


What is a function in oop?

1086


When not to use object oriented programming?

1111


What is destructor in oop?

1034