135 Views

why java does not support multiple inheritance?


S. Saha 11th Jan, 2020
Answers (2)
priyaankasarkar Student Expert 11th Jan, 2020

Some say that JAVA can support Multiple inheritance through interface but it is not exactly correct. In multiple inheritance, we inherit the properties and behaviour of multiple classes to Single class. C++, Common Lisp support multiple inheritance. But JAVA is a a simple, object oriented, distributed, interpreted, robust, secure, architecture neutral, high performance, multithreaded, dynamic language. And simplicity doesn't work for multiple inheritance. Unfortunately we cannot provide diagramic illustration and so we cannot go beyond theoretical approach.

Apoorva Student Expert 11th Jan, 2020

Hello dear student,

Java does not support multiple inheritance through classes but through interfaces we can use multiple inheritance. Java does not support multiple inheritance directly but it leads to overriding of methods when both extended class have a same method name . So it helps indirectly. I hope this helps .

Best wishes

Related Questions

Amity University, Noida Law A...
Apply
700+ Campus placements at top national and global law firms, corporates and judiciaries
Amity University Noida B.Tech...
Apply
Among Top 30 National Universities for Engineering (NIRF 2024) | 30+ Specializations | AI Powered Learning & State-of-the-Art Facilities
Amity University Noida MBA Ad...
Apply
Amongst top 3% universities globally (QS Rankings) | Ranked among top 10 B-Schools in India by multiple publications
Amity University, Noida BBA A...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
MAHE Online MBA
Apply
Apply for Online MBA from Manipal Academy of Higher Education (MAHE)
FLAME University | MBA 2026
Apply
NAAC A++ Grade | MBA program graded A** (National) by CRISIL | AACSB, ACBSP and BGA Member
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books