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 Do ListIterator extends List 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 "Do ListIterator extends List" Watch "Do ListIterator extends List" New topic

Do ListIterator extends List

Venkat dasari
Ranch Hand

Joined: Nov 12, 2003
Posts: 67
HI everybody,
When i was writing the dan's exam i came across with two questions about listiterator extending list.
To my surprise,there were two opposite saying that listiterator extendslist and the other saying it does not extend the list.
So please someone help me regarding the matter.
Thank you
Chaitanya Dasari

Regards,<br />Venkat Dasari<br />SCJP 1.4, SCBCD.
Yosi Hendarsjah
Ranch Hand

Joined: Oct 02, 2003
Posts: 164
Look at the API here.
dennis zined
Ranch Hand

Joined: Mar 07, 2003
Posts: 330
Hi Venkat. Nope listIterator does not extend list. The only thing listIterator extends is Iterator. List "has-a" listIterator but does not extend it.

SCJP 1.4<br />SCWCD 1.4
Venkat dasari
Ranch Hand

Joined: Nov 12, 2003
Posts: 67
thanks for the help
I agree. Here's the link:
subject: Do ListIterator extends List
Similar Threads
equals and Lists
Question from Dan's exam
ListIterator to ArrayList ?
retrieving elements from a vector in reverse order
Assigning iterators