What is difference between Iterator and for loop

Answer Posted / vijayakumar chinnasamy

In iterator the remove() is available to remove the
content/item but in for loop remove() not available.

Is This Answer Correct ?    52 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Java.util.regex consists of which classes?

547


Explain access modifiers in java.

583


What are different ways of object creation in java ?

579


Why java is called not pure object oriented language?

581


Is there any limitation of using inheritance?

571






How to invoke external process in java.

570


Why is java not 100% pure oops?

621


How do you declare an array in java?

523


Why runnable interface is used in java?

574


What is time complexity java?

538


How many types of threads are there in java?

504


What is the difference between numeric and integer?

513


How does predicate work in java?

540


What is meant by structural programming?

555


Can an integer be a string?

513