Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case class Student(firstName: String, lastName: Option[String] = None)
- Student("Foo")
- Student("Foo", None) // equal to the one above
- Student("Foo", Some("Bar"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement