Kotlin try-catch 塊用於代碼中的異常處理。 try 塊包含可能拋出異常的代碼, ... try{ //code that may throw exception }catch(e: SomeException){ ...
確定! 回上一頁