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 is a text string?
What is matcher in java?
What is a Transient Object?
what is interface in java? Explain
What is the use of 'super' keyword inside a constructor?
What are the Static and Dynamic Variables? Differentiate them.
Can static methods access instance variables in java?
What does super keyword do?
What is the difference between char and char *?
What is the size of a string in java?
What is the meaning of variable in research?
Which one of the following suits the description of a string better: derived or primitive?
What are the different ways to handle exceptions?
What is literal example?
How does a cookie work in Servlets?