笔记备份:2025-08-18 23:16:42

This commit is contained in:
2025-08-18 23:16:42 +08:00
parent 205cf8d587
commit 9edd3a0ca6
2 changed files with 15 additions and 2 deletions

View File

@@ -511,11 +511,11 @@
}
},
"2025-08-18": {
"totalDelta": 334,
"totalDelta": 461,
"files": {
"A1-Work/语言/Java/基础学习.md": {
"initial": 7534,
"current": 7868
"current": 7995
}
}
}

View File

@@ -319,3 +319,16 @@ Error 为系统内部错误,不应该由应用程序抛出,应用程序应
> [!warning] 注意
> 一个方法必须声明所有可能抛出的已检查异常而未检查异常要么不可控Error要么就避免发生RuntimeException
## JDK 特性
### JDK7
1. 合并的 `catch` 子句:
```Java
try {
code
} catch (FileNotFoundException | UnknownHostException e) {
code
}
```