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 you name some types of inheritance?



Can you name some types of inheritance?..

Answer / padmas

1.Multiple Inheritance, in this type a class inherits methods from multiple classes
2.Multilevel Inheritance, in this type of class inherits methods from already inherited classes. 3.Single Inheritance, where a class inherits only from one class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)

2 Answers  


What is a class in oop?

0 Answers  


What do you mean by overloading?

0 Answers  


What is polymorphism ? Explain with examples

8 Answers   Ness Technologies,


what is overloading and overriding?

7 Answers  


why freind function takes more parameter than normal member function in c++?

1 Answers   IBM,


what's the basic's in dot net

0 Answers   informatics,


What do you mean by variable?

0 Answers  


Explain the advantages of inheritance.

0 Answers   TCS,


what is single inheritance?

18 Answers   IBM,


Which is the only operator in C++ which can be overloaded but NOT inherited?

8 Answers  


what is virtual destructor

7 Answers   L&T, TCS,


Categories