What do you mean by multiple inheritance and multilevel
inheritance? Differentiate between them.
Answer Posted / ravinder kumar
Multiple: ClassA--extends-->ClassB, ClassA--extends--
>ClassC, ClassA--extends-->ClassD class A can Inherit all
the classes and can have access on all calss' public
properties and functions.
MultiLevel: ClassA-->ClassB-->ClassC-->ClassD and ClassD
will have the accesss on all the properties of its upper
level class like C,B and A
| Is This Answer Correct ? | 30 Yes | 14 No |
Post New Answer View All Answers
What are the benefits of interface?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is stream in oop?
what is the sylabus for priliminaries?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What are the important components of cohesion?
What is overloading in oop?
c++ program to swap the objects of two different classes
What is solid in oops?
what type of questions
when to use 'mutable' keyword and when to use 'const cast' in c++
What do you mean by overloading?
which feature are not hold visual basic of oop?
What are the types of abstraction?
What is overloading in oops?