Answer Posted / a h khan
if a class is derived from more than one base class then
inheritance is known as multiple inheritance.
the syntax of multiple inheritance is :-
class D : derivations B1, derivation B2,..........
{
member of class D
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Where You Can Use Interface in your Project
What is difference between data abstraction and encapsulation?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the fundamental idea of oop?
What is encapsulation with example?
What do you mean by variable?
What are the two different types of polymorphism?
Why is static class not inherited?
Why multiple inheritance is not allowed?
What is balance factor?
Write a program to sort the number with different sorts in one program ??
What are oops methods?
write knight tour problem which is present in datastructure
What is destructor oops?