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
Why do we need polymorphism in c#?
What are the benefits of oop?
What is balance factor?
What is oops and its features?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
write a program that takes input in digits and display the result in words from 1 to 1000
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
what is the sylabus for priliminaries?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Can main method override?
What are main features of oop?
What is an advantage of polymorphism?
What is class encapsulation?
Why do while loop is used?
What is the purpose of polymorphism?