Skip to content

Commit d984d79

Browse files
committed
Fix: typo ObjectOutputStream -> ObjectInputStream
1 parent d349c7e commit d984d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/io/io-basis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ dataOutputStream.writeBoolean(true);
149149
dataOutputStream.writeByte(1);
150150
```
151151

152-
`ObjectOutputStream` 用于从输入流中读取 Java 对象(`ObjectInputStream`,反序列化)或者将对象写入到输出流(`ObjectOutputStream`,序列化)。
152+
`ObjectInputStream` 用于从输入流中读取 Java 对象(`ObjectInputStream`,反序列化)`ObjectOutputStream`将对象写入到输出流(`ObjectOutputStream`,序列化)。
153153

154154
```java
155155
ObjectOutputStream output = new ObjectOutputStream(new FileOutputStream("file.txt")

0 commit comments

Comments
 (0)