Programming, Scala, Data Type, Abstraction, Introduction.
is assigned to variable t. (Side note: The underscore is Scala’s version of default). Even try catch statements are expressions which return a value so you can create: val result = try { "1".toInt } catch { case _ => 0 } There are many more various statements which return values not common to other