Home / Programming MCQs / JAVA MCQs / Question

R

Ram Sharma • 192.10K Points
Coach

Q. Enumeration in Java is ___.

(A) Data type which contains fixed set of constants
(B) Method
(C) Class
(D) None of these
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.