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 string english?
What is the difference between this() and super() in java?
why java is not supporting multiple inheritence?
Explain the difference between map and flatmap stream operation?
Write java program to reverse string without using api?
What is functional interface in javatpoint?
Explain the difference between the public, private, final, protected, and default modifiers?
What does flagged out mean?
What is Map interface?
Is hashset sorted in java?
"we cannot create an object of interface but we can create a variable of it".diacuss the statement with the help of an example.
what is static import in java? Explain