What is an enumeration?
Answer / Murli Kumar Mishra
An enumeration in Java is a predefined set of named constants that belong to the same type. It provides a way to create a set of related, distinct values that can be easily referenced in code. An enumeration is represented by the Enumeration interface and its implementing classes such as Enum.
| Is This Answer Correct ? | 0 Yes | 0 No |
What happens if a constructor is declared private?
What are the three parts of a lambda expression?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Explain the importance of thread scheduler in java?
What is boolean used for?
Can u overload main()method.Give with example.
6 Answers IBM, Schimatic Technologies,
Is it necessary that each try block must be followed by a catch block?
What is string :: npos?
Can we sort array in java?
Program to find greatest prime number in n numbers?
What do you mean by aggregation?
What does t in java mean?