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 does the “static” keyword mean?
What is the use of pattern in java?
Does a class inherit the constructors of its superclass in java programming?
What is an exception in java?
Why is serialization required?
What are the topics in advance java?
How will you call an Applet using Java Script Function?
Why does my function print none?
How can we find the sum of two linked lists using stack in java?
What do you know about the garbage collector?
What is object data type?
Write a code to show a static variable?
what is the difference between future and callable interface in java?
How does the java compiler work?
What is a key in java?