MCQOPTIONS
Bookmark
Saved Bookmarks
→
Java
→
Builtin Exceptions
→
Which method returns the elements of Enum class?
1.
Which method returns the elements of Enum class?
A.
getEnums()
B.
getEnumConstants()
C.
getEnumList()
D.
getEnum()
Answer» C. getEnumList()
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Are enums are type-safe?
Which class does all the Enums extend?
Which method returns the elements of Enum class?
If we try to add Enum constants to a TreeSet, what sorting order will it use?
Can we create an instance of Enum outside of Enum itself?
What is the order of variables in Enum?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies