What is the differenc between Enemuration interface and
iterator interface according to accessing?
Answer Posted / ravikiran
Enumeration contains elements method for iteration.
And hasMoreElements and nextelement() methods to get the
values from the collection.
Iterator contains iterator() method for iteration
And hasnext() and next() methods for the retrieval of
values from the collection.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does java ide mean?
How do I find and replace in word?
How to instantiate member inner class?
What is the null?
What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?
What is the use of http-tunneling in rmi?
Explain about map interface in java?
Why there is no call by reference in java?
Why can't we use static class instead of singleton?
Explain what pure virtual function is?
what is deadlock? : Java thread
Say any two properties in beans?
Why is java called the platform independent programming language?
What does the “static” keyword mean? Can you override private or static method in java?
Can we have multiple catch block for a try block?