1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-25 02:27:10 +08:00

Merge pull request #1779 from Raxcl/patch-2

Update io-basis.md
This commit is contained in:
Guide 2022-08-02 20:55:36 +08:00 committed by GitHub
commit 9d937a7189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ Java IO 流的 40 多个类都是从如下 4 个抽象类基类中派生出来
`FileInputStream` 代码示例:
```java
try (InputStream fis = new FileInputStream("input.txt)) {
try (InputStream fis = new FileInputStream("input.txt")) {
System.out.println("Number of remaining bytes:"
+ fis.available());
int content;