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

How to construct virtual constructor

Answer Posted / shakti singh khinchi

Virtual constructors are not used in any case in c++, bcz
the construction order in c++ should always remains from
base to derived , no one can changed their construction
order, so no need to declare constructor as virtual. But if
anyone wants to make it virtual then it is possible to make
a constructor virtual but it is against the OOPs.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of copy constructor in copying of thrown objects?

1022


Do class method definitions?

1004


Explain what is oop?

1043


What do you mean by inheritance in c++? Explain its types.

1087


What is constant in c++ with example?

1109


How do I run a program in notepad ++?

1068


Is c++ still being used?

998


What does it mean to declare a destructor as static?

1042


What is command line arguments in C++? What are its uses? Where we have to use this?

1217


What are the methods of exporting a function from a dll?

1178


Why is c++ not purely object oriented?

977


Is swift faster than c++?

988


What is a syntax in c++?

1130


Write about the access privileges in c++ and also mention about its default access level?

1029


What is the difference between c++ and turbo c++?

1136