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
What is difference between fail-fast and fail-safe?
What is singleton class example?
Explain runtime exceptions?
What is difference between synchronize and concurrent collection in java?
What is a blocking method in Java?
What is the public field modifier?
What is broken and continue statement?
What variables are stored in stack?
Is there a jre for java 11?
How many times finalize method will be invoked? Who invokes finalize() method in java?
What is final modifier?
What is meant by bytecode?
What do you understand by java?
What is entry in java?
What is maximum size of arraylist in java?