114 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

MAHE Manipal M.Tech 2025
Apply
NAAC A++ Accredited | Accorded institution of Eminence by Govt. of India | NIRF Rank #4
Amity University, Noida Law A...
Apply
700+ Campus placements at top national and global law firms, corporates, and judiciaries
Amity University, Noida BBA A...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
UPES | BBA Admissions 2025
Apply
#41 in NIRF, NAAC ‘A’ Grade | 100% Placement, up to 30% meritorious scholarships | Last Date to Apply: 28th Feb
Chandigarh University Admissi...
Apply
Ranked #1 Among all Private Indian Universities in QS Asia Rankings 2025 | Scholarships worth 210 CR
Sanskriti University LLM Admi...
Apply
Best innovation and research-driven university of Uttar Pradesh
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