DEV Community

hema latha
hema latha

Posted on

why java does not support multiple inheritance?

java does not support multiple Inheritance to avoid the diamond problem which causes complexity
but we can achieve multiple inheritance in java througth the concept of interface.

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up