Enumeration in Java is ___

62. Enumeration in Java is ___.

  1. Data type which contains fixed set of constants
  2. Method
  3. Class
  4. None of these

Answer: A) Data type which contains fixed set of constants

Explanation:

In Java, the Enumeration is a data type which contains a fixed set of constants, they are used to create our own data type like classes.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.