This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interface extends interface ?

 
srinivas bolloju
Ranch Hand
Posts: 112
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is it true that interface extends interface ?
eg's in API :
public interface List extends Collection
public interface ListIterator extends Iterator
here all List,collection,ListIterator,Iterator all are interfaces.
i thought we should implement interfaces not extend them...
pls help
thanks in advance
 
Talal Shaikh
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Classes Implement Interfaces Whereas Interfaces extend interfaces
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may want to have a quick look at JLS 9.1.2 Superinterfaces and Subinterfaces
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic