dcsimg
Regarding interface in JAVA
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sathish_Kumar
Posted On:   Friday, July 4, 2003 09:31 PM

The interface in JAVA is to implement multiple inheritance. Why JAVA doesn't directly support the concept of multiple inheritance?

Re: Regarding interface in JAVA

Posted By:   David_Bates  
Posted On:   Saturday, July 5, 2003 06:34 AM

There are lots of white papers out there that discuss this sort of thing, but its basically because multiple inheritance is bad:

* It leads to clouded object design and mixed responsibility.
* You can have real problems with name clashes when you inherit from two classes.
About | Sitemap | Contact