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 a key in java?
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What is size_t?
What is a method in java?
Differentiate Vector and ArrayList?
Write a java program to print fibonacci series?
What is boolean logic?
What are uses of Hash Code?
What is constructor chaining in java?
State one difference between a template class and class template.
What is the default initialized value of String type variable?
What are interfaces?