A

Admin • 828.03K Points
Coach

Q. Enumeration in Java is ___.

  • (A) Data type which contains fixed set of constants
  • (B) Method
  • (C) Class
  • (D) None of these
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Java
  • Hashtags:

Explanation by: Admin
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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.