The Artima Developer Community
Sponsored Link

Java Answers Forum
Simple Difference

1 reply on 1 page. Most recent reply: Jun 8, 2005 4:57 AM by Shashank D. Jha

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
A.B.GaneshMoorthy

Posts: 3
Nickname: arjuna
Registered: Jun, 2005

Simple Difference Posted: Jun 8, 2005 12:49 AM
Reply to this message Reply
Advertisement
I would like to know that what is difference between
Enumeration and Iterator.


Shashank D. Jha

Posts: 68
Nickname: shashankd
Registered: May, 2004

Re: Simple Difference Posted: Jun 8, 2005 4:57 AM
Reply to this message Reply
> I would like to know that what is difference between
> Enumeration and Iterator.

Java provides API's to view the contents of any collection objects usin Enumeration and Iteration.

Essential difference between these two are that Iterator allows to remove elements from the under-lying collection with well-defined semantics.

regards,

------------
Shashank D. Jha
iCMG
e-mail : shashank@icmgworld.com
Phone : +91-80-98451 87302

Flat View: This topic has 1 reply on 1 page
Topic: Applet Refresh - Out Of Memory Previous Topic   Next Topic Topic: Identifying JDBC Type Drivers..

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use