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 purpose of garbage collection in java?
What is method overloading in java ?
Difference between stack and queue?
what is encapsulation in java? Explain
How transient variable is different from volatile variable?
What are the differences between the constructors and methods?
What is the difference between the prefix and postfix forms of the ++ operator?
Write a method that will remove given character from the string?
What is percentage in java?
Why stringbuilder is not thread safe in java?
How do you do absolute value in java?
Why java is a platform independent? Explain
Where local and global variables are stored?
How do you change an int to a string?
Name few java 8 annotations ?