What is an enumeration class?

Answers were Sorted based on User's Feedback



What is an enumeration class?..

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

What is an enumeration class?..

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

Post New Answer

More Core Java Interview Questions

Difference between final and effectively final ? Why is effectively final even required ?

0 Answers  


What is connection class in java?

0 Answers  


when to use ArrayList and when to use HashMap in webApplication.

1 Answers  


Can anonymous class have constructor?

0 Answers  


why applet doesn't have main? isn't possible a program with out main?

9 Answers   TCS,






what is the need of the Ajax?

5 Answers   iFlex,


Why do we need hashmap in java?

0 Answers  


Can we use a switch statement with strings?

0 Answers  


What are the features of java?

0 Answers  


What is polymorphism in java? What are the kinds of polymorphism?

0 Answers  


whays is mean by inner class?

4 Answers   HCL, IBM, TCS,


What are thread priorities and importance of thread priorities in java?

0 Answers  


Categories