mirror of
https://github.com/Snailclimb/JavaGuide
synced 2025-06-25 02:27:10 +08:00
commit
9d937a7189
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user