Skip to content

Commit 60917bb

Browse files
authored
Merge pull request Snailclimb#1046 from tsbxmw/patch-1
修复显示问题
2 parents 7b3bf36 + 89d7ebe commit 60917bb

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
@@ -1240,7 +1240,7 @@ public class Test {
12401240
12411241
#### 3.2.4. 使用 `try-with-resources` 来代替`try-catch-finally`
12421242
1243-
1. **适用范围(资源的定义):** 任何实现 `java.lang.AutoCloseable`或者``java.io.Closeable` 的对象
1243+
1. **适用范围(资源的定义):** 任何实现 `java.lang.AutoCloseable`或者 `java.io.Closeable` 的对象
12441244
2. **关闭资源和 final 的执行顺序:** 在 `try-with-resources` 语句中,任何 catchfinally 块在声明的资源关闭后运行
12451245
12461246
Effecitve Java》中明确指出:

0 commit comments

Comments
 (0)