一 try 表达式
二 match表达式
三 实例
object try_match {val result_try =try{Integer.parseInt("dog")}catch{case _=>0}finally{println("always be printed")}//> always be printed//| result_try : Int = 0val code =3//> code : Int = 3val result_match=code match{case1=>"one"case2=>"two"case _ =>"others"}//> result_match : String = others}