Inheritance is the ability to inherit the attributes and behaviors of your father. Java supports multiple inheritance, just like if you have two fathers, one father wants you to do the same thing (same method), the other father wants you to do the same thing, will the two fathers fight?

Why can Java implement multiple interfaces? Because both fathers can tell you what to do, but they can’t tell you how to do it.