Using Option to remove null in Scala
Filed under MakeMyTrip
The question
Explain why Option is used to handle null values in Scala and what advantages it provides.
No write-up yet. Related questions below have one.
Related MakeMyTrip questions
Collected from public candidate posts and coding forums. Updated Nov 2026.