What is difference between Iterator and for loop
Answer Posted / sundarakannan d
The major difference is Iterator doesn't output the list we
are iterating in sequence.
where as in for we structure it to print in sequence.
Is This Answer Correct ? | 6 Yes | 21 No |
Post New Answer View All Answers
Why packages are used?
What is method overriding in java ?
What are different types of references?
What is http client in java?
How to implement an arraylist in java?
what is daemon thread and which method is used to create the daemon thread? : Java thread
Can static methods be inherited?
What are the advantages of exception handling in java?
What is a default constructor and also define copy contrucyor?
Explain the importance of finally over return statement?
What is the purpose of the main method?
What are pass by reference and pass by value?
What are the basics of core java?
Explain about method local inner classes or local inner classes in java?
What are reference variables in java?