English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
In diesem Tutorial werden wir Java Eingabe/Ausgabestrom und deren Typen.
In Java sind Streams eine Sequenz von Daten, die von der Quelle gelesen und ins Ziel geschrieben werden.
eineEingabestromzur Lesung von Daten aus der Quelle. Und,Ausgabestromzur Schreibens von Daten ins Ziel.
class HelloWorld { public static void main(String[] args) { System.out.println("Hello, World!"); } }
For example, in our firstHello WorldIn the example, we have used System.out to print strings. Here, System.out is an output stream.
Similarly, there are input streams that receive input.
We will learn about input and output streams in detail in the following tutorials.
According to the data contained in the stream, it can be classified as:
Byte Streams (Byte-Stream)
Character Streams (Zeichenstrom)
Byte streams are used to read and write individual bytes (8data in bits).
All byte stream classes are derived from the basic abstract classes called InputStream and OutputStream.
For more information, please visit
Character streams are used to read and write individual data characters.
All character stream classes are derived from the basic abstract class Reader and Writer.
For more information, please visit