Why does Java does not support multiple inheritance? Explain
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.