1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

Update Java基础知识.md

修改文本错误"NullPointExecrption"改为"NullPointException"
位于3.2异常中的 3.2.1
This commit is contained in:
冲冲冲 2021-02-07 17:34:11 +08:00 committed by GitHub
parent b2cfcb6a20
commit b52c52bf07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1225,7 +1225,7 @@ Java 代码在编译过程中,如果受检查异常没有被 `catch`/`throw`
Java 代码在编译过程中 ,我们即使不处理不受检查异常也可以正常通过编译。
`RuntimeException` 及其子类都统称为非受检查异常,例如:`NullPointExecrption`、`NumberFormatException`(字符串转换为数字)、`ArrayIndexOutOfBoundsException`(数组越界)、`ClassCastException`(类型转换错误)、`ArithmeticException`(算术错误)等。
`RuntimeException` 及其子类都统称为非受检查异常,例如:`NullPointException`、`NumberFormatException`(字符串转换为数字)、`ArrayIndexOutOfBoundsException`(数组越界)、`ClassCastException`(类型转换错误)、`ArithmeticException`(算术错误)等。
#### 3.2.2. Throwable 类常用方法