Skip to content

Commit

Permalink
Merge pull request Snailclimb#1046 from tsbxmw/patch-1
Browse files Browse the repository at this point in the history
修复显示问题
  • Loading branch information
Snailclimb authored Jan 5, 2021
2 parents 7b3bf36 + 89d7ebe commit 60917bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/basis/Java基础知识.md
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ public class Test {
#### 3.2.4. 使用 `try-with-resources` 来代替`try-catch-finally`
1. **适用范围(资源的定义):** 任何实现 `java.lang.AutoCloseable`或者``java.io.Closeable` 的对象
1. **适用范围(资源的定义):** 任何实现 `java.lang.AutoCloseable`或者 `java.io.Closeable` 的对象
2. **关闭资源和 final 的执行顺序:** 在 `try-with-resources` 语句中,任何 catchfinally 块在声明的资源关闭后运行
Effecitve Java》中明确指出:
Expand Down

0 comments on commit 60917bb

Please sign in to comment.