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 data type is true or false?
Why pointers are not used in java?
What is difference between overloading and overriding in java?
What do you mean by JVM?
What best practices should you follow while writing multithreaded code in java?
Why singleton pattern is better than creating singleton class with static instance?
what us Dyna action form?
4 Answers Aithent Technologies,
What is the function of compareto in java?
Are primitives objects?
What is a condition in programming?
What modifiers may be used with an inner class that is a member of an outer class in java programming?
Can we create object of inner class in java?