why java doesn't support multiple inheritance? we can achieve this by using interface but not with classes? what is the main reason that java community implemented like that?
Why Java does not support Multiple Inheritance?
When we extends more than one class, JVM get confused as to which method it should call. This causes complexity and inconsistency. So to avoid these complexities and inconsistencies, Java does not support Multiple Inheritance.