Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Use of Interface

 
Apan Raj
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can Interface be used for Multiple Inheritance ?
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Herb Schildt
Author
Ranch Hand
Posts: 253
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic