why java use inteface intead of multiple inheritance
Posted Date Unknown Abhilash Pathrose 3 Comments

java does not support mutiple inheritance like c/c++. why?   

See All Responses Below...
Author
Message Rating
Posted on: 05/06/2012
The one reason which I believe is this, if the compiler is not designed/engineered properly for multiple inheritance, then it can produce a lot of trouble to the programmer. The designers of Java foresee this and avoided multiple inheritance altogether...

Tom
   
Posted on: 05/06/2012

The practical reason is to reduce the code redundancy and ambiguity.

Share this page across other social networking sites



Posted on: 25/02/2016
It is beacause Java is a simple, object oriented, distributed, interpreted, robust, secure, architecture neutral, portable, high performance, multithreaded, dynamic language. The answer for your question is rely in the definition of JAVA. It must be simple and multiple inheritance is little complex so to make it simple a new feature interface is included in the language.
Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Comments
   Design  HTML
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

TekTipsDownload
GateExam
Academic Projects
TekTipsExperts



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud