This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 42

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

Joined: Sep 21, 2009
Posts: 42

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

Joined: Sep 28, 2004
Posts: 18116
    
  39

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
 
Similar Threads
why interface
Interface Inhertance
java does not support multiple inheritance. Is it a limitation to java?
Interface
Multiple Inheritance - Reusability