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

What is Session and cookies?Explain in detail with an example?

4 Answers   Accenture, CTS,


Can we create our own wrapper class in java?

0 Answers  


Define jit compiler?

0 Answers  


What is return type in java?

0 Answers  


When would you use a static class?

0 Answers  


Is the milky way in a void?

0 Answers  


Explain about transient variables in java?

0 Answers  


What is mean by collections in java?

0 Answers  


What is get () in java?

0 Answers  


what is ennumaration?

2 Answers   Amdocs,


What is the difference between hashmap and hashtable in java?

0 Answers  


Can final class have constructor?

0 Answers  


Categories