aspose file tools*
The moose likes Beginning Java and the fly likes multiple inheritance in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "multiple inheritance in java" Watch "multiple inheritance in java" New topic
Author

multiple inheritance in java

kiran nyala
Ranch Hand

Joined: Sep 21, 2009
Posts: 47

Is java supports multiple inheritance fully?If yes how it can?
kiran nyala
Ranch Hand

Joined: Sep 21, 2009
Posts: 47

is it possible multiple inheritance through inner classes in interfaces
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 19059
    
  40

kiran nyala wrote:is it possible multiple inheritance through inner classes in interfaces



As Sona already mentioned, java doesn't have multiple inheritance. Java only has a mechanism, aka interfaces, that can be used to alleviate the need for multiple inheritance. Interfaces, however, is not multiple inheritance.

Inner classes is not multiple inheritance either.


BTW, do you even know what multiple inheritance is?

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multiple inheritance in java