Question :What is the difference between Iterator and Enumeration? (JavaUtil)
Answer :Iterator takes the place of Enumeration in the Java collections framework.
Iterators differ from enumerations in two ways: Iterators allow the caller to
remove elements from the underlying collection during the iteration withwell-defined semantics. Method names have been improved
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Friday, March 13, 2009
What is the difference between Iterator and Enumeration (JavaUtil)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment