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
What are the four corner stones of oop?
who can i handle multiple client in RMI
How list contains works in java?
Explain the hierarchy of java exception classes?
When is the finalize() called?
Can we make main() thread as daemon?
What are white spaces in java?
What is java lang string?
What is isa relationship?
What is the difference between an interface and an abstract class?
When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?
How do you remove duplicates in java?
What is the purpose of encapsulation?
Where is java located?
What is the difference between Java and C++?