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 data type is true or false?

0 Answers  


Why pointers are not used in java?

0 Answers  


What is difference between overloading and overriding in java?

0 Answers  


What do you mean by JVM?

0 Answers   Ericsson,


What best practices should you follow while writing multithreaded code in java?

0 Answers  






Why singleton pattern is better than creating singleton class with static instance?

0 Answers  


what us Dyna action form?

4 Answers   Aithent Technologies,


What is the function of compareto in java?

0 Answers  


Are primitives objects?

0 Answers  


What is a condition in programming?

0 Answers  


What modifiers may be used with an inner class that is a member of an outer class in java programming?

0 Answers  


Can we create object of inner class in java?

0 Answers  


Categories