Module java.base
Package java.io

Class InputStream

java.lang.Object
java.io.InputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Direct Known Subclasses:
AudioInputStream, ByteArrayInputStream, FileInputStream, FilterInputStream, ObjectInputStream, PipedInputStream, SequenceInputStream, StringBufferInputStream

public abstract class InputStream extends Object implements Closeable
This abstract class is the superclass of all classes representing an input stream of bytes.

Applications that need to define a subclass of InputStream must always provide a method that returns the next byte of input.

Since:
1.0
See Also: