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 copy constructor? Can we make copy constructor private in c++?

1091


Which software is used to run c++ program?

1011


What is the difference between object-oriented programming and procedural programming?

1240


Can the creation of operator** is allowed to perform the to-the-power-of operations?

1008


Where do I find the current c or c++ standard documents?

1094


What is c++ try block?

1051


Explain binary search.

995


What sorting algorithm does c++ use?

1159


How new/delete differs from malloc()/free?

1148


What is an overflow error?

1112


Can I learn c++ without learning c?

1020


What is the difference between multiple and multilevel inheritance in c++?

1135


Is c++ a high level language?

1014


What does the ios::ate argument do?

1190


How do you remove an element from a set in c++?

1095