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 / vighnesh

Yes there is no virtual constructors.I can think a a reason
may be because a constructor is never inherited so there is
no polymorphism etc involved .

Is This Answer Correct ?    10 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the concept of dynamic allocation of memory?

1152


How do you flush std cout?

1147


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

1052


What are the two types of comments, and how do they differ?

1211


what is data encapsulation in C++?

1124


State the difference between delete and delete[].

1163


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

1213


Define stacks. Provide an example where they are useful.

1072


Can comments be longer than one line?

1122


Why namespace is used in c++?

1118


What is virtual destructor? What is its use?

1119


Why ctype h is used in c++?

992


What is class syntax c++?

1203


How do you generate a random number in c++?

1148


What is the use of :: operator in c++?

1184