Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

relation b/w the ListIterator & List Interface?  RSS feed

 
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
Boost this thread!