What is an enumeration class?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which language java is written?

531


How would you use Bubble Sort to sort the number of elements?

574


Can an unreferenced object be referenced again?

754


What is map java?

508


Can private class be extended java?

555






What is finally in Java?

571


Using callable statement how can you pass out parameters, explain with example?

577


What is java Applet?

640


What is Session reduplication and how its done?

1560


What is the function of http?

522


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

515


What is the use of flag?

575


Objects or references which of them gets garbage collected?

525


Why char array is favored over string for the storage of passwords?

551


Which sorting algorithm is in place?

533