This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 18532
    
  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
 
Similar Threads
Multiple Inheritance - Reusability
java does not support multiple inheritance. Is it a limitation to java?
Interface
why interface
Interface Inhertance