What is an enumeration class?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / ravikiran(aptech mumbai)
enumeration class contains the method elements to traverse
threw the elements of collection
Is This Answer Correct ? | 2 Yes | 2 No |
What is Session and cookies?Explain in detail with an example?
Can we create our own wrapper class in java?
Define jit compiler?
What is return type in java?
When would you use a static class?
Is the milky way in a void?
Explain about transient variables in java?
What is mean by collections in java?
What is get () in java?
what is ennumaration?
What is the difference between hashmap and hashtable in java?
Can final class have constructor?