What is dreaded Diamond problem in inheritance?
Answers
Answered by
0
As we know in object oriented programming inheritance is one of the most important feature and we oftenly use inheritance while working with object oriented programming. Here we are going to learn why we can not use two classes to implement this feature of object oriented programming. And why interfaces are important to implement Multiple Inheritance.
inheritance means to inherit the properties of the parent class. So that those properties could be used in the child classes.
inheritance means to inherit the properties of the parent class. So that those properties could be used in the child classes.
Similar questions