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 main function c++?

1115


Describe new operator?

1156


What are the comments in c++?

982


Can static member variables be private?

1166


What is #include iostream in c++?

1055


Which is the best c++ compiler?

1047


What is the difference between reference and pointer?

1149


What is the protected keyword used for?

1109


What are the benefits of oop in c++?

1220


What is the difference between interpreters and compilers?

1171


Where Malloc(), Calloc(), and realloc() does get memory?

1048


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1150


What are shallow and deep copy?

1100


How can we access protected and private members of a class?

1112


What is the difference between structures and unions?

1056