Ask a Question

why java does not support multiple inheritance?

on 2011-08-31 21:22:31   by shuvadeep   on Information Technology  1 answers

Rajni

on 2011-09-09 09:30:00  

The reasons for omitting multiple inheritance from the Java language mostly stem from the \"simple, object oriented, and familiar\" goal. As a simple language, Java\'s creators wanted a language that most developers could grasp without extensive training. To that end, they worked to make the language as similar to C++ as possible (familiar) without carrying over C++\'s unnecessary complexity (simple). In the designers\' opinion, multiple inheritance causes more problems and confusion than it solves. So they cut multiple inheritance from the language (just as they cut operator overloading). The designers\' extensive C++ experience taught them that multiple inheritance just wasn\'t worth the headache.