Nuacht
Q: Why doesn’t the Java language support multiple inheritance? A: Whenever you find yourself asking why Java has or does not have some feature, consider the design goals behind the Java language.
I recently read an article entitled "Why is multiple inheritance so abhorred" in which code was reproduced without using code tags.
Click to expand... !!! The prime reason why multiple inheritance is rare in languages is that it is hard to implement in the compiler.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana