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 the difference between hashmap and hashtable? What is an interface?
What is a char in java?
Is it necessary that each try block must be followed by a catch block?
What about instanceof operator in java?
Can you call a method in a method?
a thread is runnable, how does that work? : Java thread
Is ResultSet class?
5 Answers Bally Technologies, TCS,
Explain the importance of finally block in java?
why ,we are using jsp and html.which one is better?
Write java program to reverse string without using api?
Can I learn java in 3 months?
What is java console application?