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
How do you sort words in java?
What is meant by stack and queue?
What is vector capacity in java?
List down the methods and interfaces of collection class in java.
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none.
Define how does a try statement determine which catch clause should be used to handle an exception?
What is a treemap in java?
How do you write a conditional statement?
is there a separate stack for each thread in java? : Java thread
Is a char always 1 byte?
what is anonymous class in java?
Why are lists ordered in java?
What is java and its types?
Write a program in java to create a doubly linked list containing n nodes.
What is polymorphism java example?