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

Is empty stack c++?

997


How can you link a c program with a c function?

1076


Explain the concept of copy constructor?

1051


What sorting algorithm does c++ use?

1150


Do you know the use of vtable?

1136


What is a static member?

1042


What is flush c++?

1011


What is the difference between a "copy constructor" and an "assignment operator" in C++?

1077


Why c++ is not a pure oop language?

1051


What is the default access level?

1070


what is the difference between overloading & overriding? give example.

1195


What is a buffer c++?

1063


Can we define a constructor as virtual in c++?

1129


What is a linked list in c++?

1050


List different attributes in C++?

1095