Answers for "scala match default"

1

scala match default

something match {
    case "val" => "found match!!"
    case _ => "default case"
}
Posted by: Guest on March-24-2022

Code answers related to "Scala"

Browse Popular Code Answers by Language