133 Views

why java does not support multiple inheritance?


S. Saha 11th Jan, 2020
Answers (2)
user-img
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.

user-img
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 | M.Tech Adm...
Apply
Ranked amongst top 3% universities globally (QS Rankings).
Shoolini University Admission...
Apply
NAAC A+ Grade | Ranked No.1 Private University in India (QS World University Rankings 2025)
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)
Amity University, Noida BBA A...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
Graphic Era (Deemed to be Uni...
Apply
NAAC A+ Grade | Among top 100 universities of India (NIRF 2024) | 40 crore+ scholarships distributed
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