Vidyalelo
Java Programming · Q28

Java Generics

Programming · Java Programming · question 28

Q28

In Java generics, what is the purpose of the `Enum` interface?

A.
To implement a generic exception
B.
To represent an enumeration type
Answer
C.
To create a generic class
D.
None of These

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board