What is difference between Iterator and for loop
Answer Posted / punamchand
Iterator has its own method remove() which is used to remove data while for each don't have its own method
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How many types of memory areas are allocated by JVM in java?
What is member in java?
What is a double vs float?
What is return code?
How do you add an element to a set in java?
Why can we not override static method?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
What is the purpose of main function in java?
What does next mean in java?
What are methods?
Give reasons supporting that string is immutable.
How do I stop concurrentmodificationexception?
why not override thread to make a runnable? : Java thread
What is parsing in java?
What is the java virtual machine?