File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Murach's Java Servlets and JSP this week in the Servlets 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: 18509
    
  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)
 
It is sorta covered in the JavaRanch Style Guide.
 
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