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
What is the inheritance?
What is string immutability?
Why array is used in java?
What is default switch case? Give example.
What is the synonym of procedure?
Why does java not allow multiple public classes in a java file ?
What are unchecked exceptions in java?
Explain the scope of a variable.
What's the base class in java from which all classes are derived?
What is arraylist e?
What are generic methods?
What is string and its types?
Is it possible for a yielded thread to get chance for its execution again?
Can we override constructor in java?
Which is faster string or stringbuilder?