Its obvious that there are lot of problems related to ambiguity in multiple inheritance. While C++ found a solution to the problem, java decided not to go with multiple inheritance. Instead, they have a different way of doing it. Before implementing multiple inheritance equivalent in Java, you need to be familiar with a few terms.
Inheritance : It is the case when a child class extends a parent class. This is a "is a" relation.
Association: It is the situation where a class may have one or more objects of another class. There is a "has a" relationship between one object to another. The association may be strong when deleting the main objects automatically deletes the other objects as well. While if the other objects still have some value without the main object, such association is called weak association.
Inheritance : It is the case when a child class extends a parent class. This is a "is a" relation.
Association: It is the situation where a class may have one or more objects of another class. There is a "has a" relationship between one object to another. The association may be strong when deleting the main objects automatically deletes the other objects as well. While if the other objects still have some value without the main object, such association is called weak association.