aspose file tools*
The moose likes Java in General and the fly likes Use of  Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Use of  Interface " Watch "Use of  Interface " New topic
Author

Use of Interface

Apan Raj
Greenhorn

Joined: Sep 04, 2003
Posts: 20
Can Interface be used for Multiple Inheritance ?


"If everything is in your way, sure you are on the wrong lane"
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Yes.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Herb Schildt
Author
Ranch Hand

Joined: Oct 01, 2003
Posts: 239
APAN:
By "multiple inheritance", I assume that you are referring to one interface inheriting two or more other interfaces at the same time? For example, like this:

If so, the answer is yes, as Ilja, indicated. If you are refering to some other situation, let us know.


For my latest books on Java, including my Java Programming Cookbook, see HerbSchildt.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Use of Interface