3 ms·
Multiple inheritance has grades. It’s perfectly fine to have single class inheritance and multiple interface one for example.
by kaba0 4y ago
Multiple inheritance has grades. It’s perfectly fine to have single class inheritance and multiple interface one for example.
- kazinator 4y agoYes. If you don't have it, that's an F grade. Ruby modules get a D, and Java interfaces a C-. C++ gets a D- with its base classes having to be declared "virtual" nonsense in order that your object isn't a Duck in four different ways due to diamonds in the inheritance lattice.