1.

Why does Java does not support multiple inheritance? Explain

Answer»

Java does not support MULTIPLE inheritances because it may lead to overriding of methods when extended classes have the same METHOD names.

Also, supporting multiple inheritances through classes may give RISE to ambiguity errors. However, multiple inheritance is POSSIBLE through the INTERFACE.



Discussion

No Comment Found