Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6132981
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:10:10+00:00 2026-05-23T17:10:10+00:00

As per my knowledge the main difference between Iterator and ListIterator is Iterator :

  • 0

As per my knowledge the main difference between Iterator and ListIterator is

Iterator : Enables you to cycle through a collection in the forward direction only, for obtaining or removing elements

ListIterator : It extends Iterator, allow bidirectional traversal of list and the modification of elements

If ListIterator is more powerful than Iterator then sun java developer should have provide implementation for ListIterator only and deprecate iterator. Why Iterator is still exists in java? Is there any advantage of using Iterator than ListIterator?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:10:10+00:00Added an answer on May 23, 2026 at 5:10 pm

    It’s because not all collections support both forward and backward iteration. ListIterators are specifically for collections that have list semantics, i.e. they define an ordering over the elements. Some collection types (Sets, for example) do not define the ordering of their elements, so a ListIterator does not make sense for them.

    There is also an extra overhead incurred when the iterator implementation needs to maintain enough state to support forward and backward iteration and in-place modification. By supporting both Iterator and ListIterator it is possible to have a light-weight implementation of Iterator when it is needed, and a heavier ListIterator for those cases where the extra functionality is required.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As per this MSDN link, There is no way to replace only part of
Per the new profile/fan page tab rule that eliminates the iFrame option, is there
per the debate in this post: json-conversion-in-javascript
As per the documentation, the program should have admin rights to create source for
As per title i am trying to measure page performance in IE6 that has
As per the original question , The end result is a rounded-rect png in
I need read about 100 samples per second off the accelerometer on a Android,
1)I have a field storing timestamp as text (YYYYMMDDHHMM). Can i get the results
I am trying to programatically generate movie/video file using Google Earth COM APIs (along
I have an SVN server, and I'd like to use our LDAP server for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.