What is an enumeration class?
Answers were Sorted based on User's Feedback
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 |
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 |
Why string is called as immutable?
what is static import in java? Explain
Can we override private constructor in java?
Is it possible to write static method in abstract class? justyfy your answer?
How two different class threads communicate with each other?. send example code.
Write the algorithm to check the number non-leaf nodes in a tree.
Can a main method be declared final?
Can we override constructor?
Can we override private method?
What are the 5 types of research methods?
What are serialization and deserialization?
How can you traverse a linked list in java?