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

Is string is a data type?

0 Answers  


What is difference between word and integer?

0 Answers  


what is Remote Reference Layer ?

1 Answers  


How do you sort in ascending order in java?

0 Answers  


What is ResourceBundle class?

1 Answers  


What is the loop in java?

0 Answers  


Explain java coding standards for variables ?

0 Answers  


What are the performance implications of interfaces over abstract classes?

1 Answers  


What do you understand by abstract classes?

0 Answers   HCL,


How to Create A Wapper Class in core Java and Why are Use in java?

2 Answers   Amdocs,


how to run servlet program between two computer through the internet ?

2 Answers   Kiran Prakashan, TCS,


A abstract class extending an abstract class.Super class has both abstract and non-abstract methods.How can we implement abstract and non-abstract mehtods? Explain with snippet

3 Answers  


Categories