Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

relation b/w the ListIterator & List Interface?

 
pradeepbill arumalla
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
what is the relation b/w the ListIterator & List Interface?
thanks
pradeep
 
Paul Zill
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ListIterator is an interface that extends Iterator, both interfaces deal with interating over elements in a collection.
While List is an interface that extends Collection, so List is a more specific type of Collection.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic