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


Under what conditions is multiple inheritance not recommended?



Under what conditions is multiple inheritance not recommended?..

Answer / ackmed

If you derive from more than one base classes with the same
parent, then that parent should be a virtual base class.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More C++ General Interview Questions

Define a conversion constructor?

0 Answers  


What are shallow and deep copy?

0 Answers  


Is java a c++?

0 Answers  


class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list

2 Answers   Quark,


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

0 Answers  


write a program that a 5 digit number and calculates 2 power that number and prints it.

2 Answers   Vimukti Technologies,


What is a far pointer? where we use it?

0 Answers  


What is scope of a variable? (LOLZ)

2 Answers   CA, TCS,


reading material is provided 3 books for c++ if u need more do let me know thnx i hve lots of material do let me know if u want it

2 Answers  


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

0 Answers  


difference between the c++ and c languages

4 Answers   Wipro,


What is conversion constructor?

2 Answers   TCS,


Categories