From 21fbc0eb17ad3de945f1062673b27e36a1b4f903 Mon Sep 17 00:00:00 2001 From: luming Date: Wed, 30 Jun 2021 15:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E6=97=B6=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/senior/Exception/Main.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/senior/Exception/Main.kt b/src/senior/Exception/Main.kt index 029b532..85199d4 100644 --- a/src/senior/Exception/Main.kt +++ b/src/senior/Exception/Main.kt @@ -27,6 +27,7 @@ fun main(args: Array) { // devided(4, 0) + // 转换时会抛异常 var age = Integer.parseInt("18岁") } \ No newline at end of file