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

Can we have "Virtual Constructors"?

Answer Posted / rani

No, we cannot have virtual constructor. Because constructor
is usually use to create instance of a class and we cannot
make it virtual.

Is This Answer Correct ?    47 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a struct time where integer m, h, s are its members?

916


what is Member Functions in Classes?

1114


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

2019


Does improper inheritance have a potential to wreck a project?

1086


What is java and c++?

1098


What is a type library?

1062


What is virtual methods?

1078


Can a new be used in place of old mallocq? If yes, why?

1038


What are the advantages of using typedef in a program?

1103


How are pointers type-cast?

1061


What is an html tag?

1077


What is private, public and protected inheritance?

1033


What are the advantages of using a pointer?

1022


How can you say that a template is better than a base class?

1025


what is upcasting in C++?

1118