This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes collections...urgent 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "collections...urgent" Watch "collections...urgent" New topic


pradeepbill arumalla

Joined: Jul 15, 2003
Posts: 19
hi all,
which class implement Listiterator interface,i did not find any class that implement on the link
my problem is that when you say
LinkedList staff=new LinkedList();
ListIterator iter=staff.listIterator();
the listIterator() method returns an object of the class implementing the ListIterator interface
but which class is that?is it the LinkedList class (but LinkedList class doesnt implement ListItereator interface...i think)or some other class that implements ListIterator,if it is LinkedList class where is the method listIterator() implemented.

Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
I think it's a private class which you interact with solely through the ListIterator interface.

Ron Newman - SCJP 1.2 (100%, 7 August 2002)
I agree. Here's the link:
subject: collections...urgent
Similar Threads
Arrays - basic question
methods confusion
how to get the size and file creation time
Filtering Files