Answer Posted / janet
An object that implements the Enumeration interface
generates a series of elements,one at a time. It has two
methods,namely hasMoreElements() and nextElement().
hasMoreElements() tests if this enumeration has more
elements and nextElement() method returns successive
elements of the series.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the default value of an object reference declared as an instance variable?
How does indexof work?
What is thread synchronization in java?
Is arraylist zero based?
What is instance means in java?
What is the similarity between dynamic binding and linking?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
How do you get the length of a string in java?
Can sleep() method causes another thread to sleep?
What is a lightweight component?
Is java owned by oracle?
Is integer passed by reference in java?
What is difference between module and function?
Explain about strings in java?
What is the difference between preparedstatement and statement in java?