What do you mean by multiple inheritance and multilevel
inheritance? Differentiate between them.
Answers were Sorted based on User's Feedback
Answer / ramya
multiple inheritance is the class derived from more than
one base class & where as coming to multilevel inheritance
it derives one class to one base class via intermediate
base class
| Is This Answer Correct ? | 39 Yes | 13 No |
Answer / 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 |
create a c++ program that will ask 10 numbers and display their sum using array.
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks
What do you mean by variable?
to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123
What is deep and shalow copy?
What is an object?
what is function over loading?
What are properties in oop?
can you give the dynamic polymorphism types?
Why static functions always uses static variables?
What is static in oop?
Program to check whether a word starts with a capital letter or not.