Biology, asked by kumarutsav7895, 1 year ago

What is dreaded Diamond problem in inheritance?

Answers

Answered by sbroshansatya
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.

Similar questions