![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Latest Answer : pass multiple variables to the function as formal parameters ... function will actually set those values (output variables). ... Latest Answer : Whenever u want to derieve a class having multiple ancestors or base calsses u have use Multiple InheritanceIt can be done as followsclass A{- - - };class B{---};class C:public A,public B{---}; ... Tags : Inheritance Latest Answer : The process of creating new classes, called derived classes, from existing classes, called base classes. The derived classes inherit all the capabilities of the base class and also can add new features of its own. ... Tags : Inheritance Latest Answer : Inheritance is using a generalized class to derive a more specific functionality without re-writing the existing basic functionality code.A base class or parent class contains generalized functions. A derived class reuses the base class functions and ... Tags : Inheritance Latest Answer : Multiple inheritance refers to a class being derived from two or more classes.Multilevel inheritance refers to a class inheriting from a parent class which is itself derived from another class.Multilevel inheritance is supported by all OOPs languages. ... Tags : Inheritance Latest Answer : Yes, In C++ we can derive a class C from B which is derived from A -- multilevel inheritance.In C++ we can derive a class D from two base classes A and B -- multiple inheritance. This may cause a problem in case A and B are derived from a single base ... Tags : Inheritance Latest Answer : Inheritance offers the following advantages --Developement model closer to real life object model with hierarchical relationshipsReusability -- facility to use public methods of base class without rewriting the sameExtensibility -- extending the base ... Tags : Inheritance Latest Answer : Java supports four types of inheritance1) Single Inheritance2) Multi Level Inheritance3) Hierarchical Inheritance4) Hybrid Inheritance ... Tags : Inheritance
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||