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 / nishikant sahu

of course no such concept lie within C++ ,but we can achieve
this effect. Abstract Factory method show this type of effect.

Is This Answer Correct ?    4 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?

2303


Differentiate between C and C++.

1229


What is the use of dot in c++?

1075


Explain function overloading

997


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

2008


What is c++ and its uses?

1209


What does the ios::ate argument do?

1166


When do we run a shell in the unix system?

1060


Can a program run without main?

1219


Differentiate between structure and class in c++.

1067


What is constructor in C++?

1071


What is the best c++ compiler for windows 10?

1027


What is the difference between while and do while loop?

1142


Is there any difference between int [] a and int a [] in c++?

1002


What is c++ hash?

1098