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 Programmer Certification (SCJP/OCPJP) and the fly likes interface extends interface ? 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "interface extends interface ?" Watch "interface extends interface ?" New topic
Author

interface extends interface ?

srinivas bolloju
Ranch Hand

Joined: Jan 23, 2001
Posts: 112
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


please use the [code][/code] tags when showing code. visit <a href="http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=ubb_code_page" target="_blank" rel="nofollow">http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=ubb_code_page</a> ,for more details
Talal Shaikh
Greenhorn

Joined: Jul 17, 2001
Posts: 13
Classes Implement Interfaces Whereas Interfaces extend interfaces
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
You may want to have a quick look at JLS 9.1.2 Superinterfaces and Subinterfaces


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: interface extends interface ?
 
Similar Threads
relation b/w the ListIterator & List Interface?
Do ListIterator extends List
Collection
ConcurrrentModificationErro
Good Diagrams..