Skip to content

Commit 335307b

Browse files
committed
Update Java基础知识.md
1 parent 1aa6162 commit 335307b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/basis/Java基础知识.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,7 @@ Java 代码在编译过程中,如果受检查异常没有被 `catch`/`throw`
12251225
12261226
Java 代码在编译过程中 ,我们即使不处理不受检查异常也可以正常通过编译。
12271227
1228-
`RuntimeException` 及其子类都统称为非受检查异常,例如:`NullPointException`、`NumberFormatException`(字符串转换为数字)、`ArrayIndexOutOfBoundsException`(数组越界)、`ClassCastException`(类型转换错误)、`ArithmeticException`(算术错误)等。
1228+
`RuntimeException` 及其子类都统称为非受检查异常,例如:`NullPoin​terException`、`NumberFormatException`(字符串转换为数字)、`ArrayIndexOutOfBoundsException`(数组越界)、`ClassCastException`(类型转换错误)、`ArithmeticException`(算术错误)等。
12291229
12301230
#### 3.2.2. Throwable 类常用方法
12311231

0 commit comments

Comments
 (0)