Question
What does Option represent in Scala?
Select an option. Your answer will be checked instantly.
Correct Answer: C. A value that may be present or absent
Explanation:
Some(value) represents presence and None represents absence.
Option reduces direct reliance on null.
Leave a Reply