Home > Java > JavaBase > body text

There are several types of streams in java

王林
Release: 2020-05-18 17:22:57
Original
3179 people have browsed it

There are several types of streams in java

1. Byte stream InputStream/OutputStream

1. FileInputStream/FileOutputStream: file byte stream, used for file read and write operations

2. BufferedInputStream/BufferedFileOutputStream: byte stream with buffer added to improve efficiency

(Video tutorial recommendation: java video)

2. Character stream Reader/ Writer

1, FileReader/FileWriter: file character stream, used for reading and writing text files

2, BufferedReader/BufferedWriter: buffered character stream, used to improve efficiency

3. Convert stream InputStreamReader/OutputStreamWriter

Recommended tutorial: Getting started with java development

The above is the detailed content of There are several types of streams in java. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template