How does Scalaâ€™s `Option` type help with null safety?
The `Option` type in Scala represents an optional value that can either be `Some(value)` or `None`, helping to eliminate the need for null references.
Great! You've correctly explained how Scala's `Option` type eliminates null references by wrapping values safely.
Can you explain how you would use `Option` in a Scala program to handle potential null values?