Lesson 11 of 15 · +110 xp

Option

Maybe a value.

Explained simply

Your task

Write val x: Option[Int] = Some(5)

option-scala.scala
← Back