Examveda

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

A. To implement a generic exception

B. To represent an enumeration type

C. To create a generic class

D. None of These

Answer: Option B


This Question Belongs to Java Program >> Generics In Java

Join The Discussion

Related Questions on Generics in Java