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

The first thing, Why we need a Virtual constructors, do we
really need that..... :) If I am making an object of A then
I should not expect the object of class B as I can directly
make a B class object.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you declare an array without a size in c++?

960


Why main function is special in c++?

1056


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

1003


how to access grid view row?

2166


What is guard code in c++?

1105


What is the output of the following program? Why?

1083


what are the iterator and generic algorithms.

2094


What is this weird colon-member (" : ") syntax in the constructor?

961


What are the storage qualifiers?

1104


What is one dimensional array in c++?

1042


Is oops and c++ same?

994


Write syntax to define friend functions in C++.

1003


Write a recursive program to calculate factorial in c++.

1023


Why is "using namespace std;" considered bad practice?

1035


Can non graphic characters be used and processed in C++?

1132