Question 1
Back to Exercise
When is an enum the right choice?
- A For any class with many objects
- B For a type with a fixed, known set of constant values Correct
- C For mutable data
- D For storing large lists
Correct Answer: Option B
Days, statuses, levels, directions, payment modes…
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!