Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (45k points)

Could someone tell me why Java does not support multiple inheritance?

1 Answer

0 votes
by (99k points)

Java is a very powerful Programming Language, but it does not support multiple inheritances like many of the other popular Languages do, like C++, etc. And that is because of the Diamond problem in Java. Since the compiler will not understand, which superclass method to execute within the problem, thus that will fumble Java, and thus it does not support multiple inheritances. If you wish to learn Java, get trained and certified, check out the Java training course from Intellipaat. Also, look at the following YouTube video on Java Full Course for beginners to get a better understanding.

Related questions

Browse Categories

...