Question 3
Back to Exercise
For enum Size { S, M, L }, what is Size.L.ordinal()?
- A 3
- B 2 Correct
- C 1
- D "L"
Correct Answer: Option B
Ordinals start at 0 in declaration order.
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!