Last updated: Feb 22, 2022

Java I/O

In Java, streams are the sequence of data that are read from the source and written to the destination.An input stream is used to read data from the source and an output stream is used to write data to the destination. The java.io package contains all the classes required for input and output operations.
Introduction to Java I/O Streams EASY
Explore Java I/O operations with examples, understand Java I/O Streams, their significance, and types, including Standard I/O Streams. A complete guide to I/O streams in Java.
Reader Class in Java
In this blog, you will learn about the Reader class in Java. We will discuss the different methods supported by the Reader class.
Writer Class in Java
In this article, we have extensively discussed the Writer class in Java and will see a sample program having the implementation of the Writer class.
File Input/Output EASY
In this blog, we will discuss file input/output
nextLine() in Java with Examples EASY
( Combine all relevant information into a meta description under 160 characters that places important keywords at the beginning for prominence and ensures related terms are close together for proximity. Write it to entice clicks, target voice search, and improve AI-scannability. )
Author Komal
0 upvotes
Java Read File EASY
In this article, we'll learn different approaches to reading files in Java, which includes using java.nio.file. Files, java.io.BufferedReader, and Scanner classes.
File Input Stream class
The FileInputStream class in Java is used to read data from files as a stream of bytes, making it ideal for handling raw binary and text file input.
Java FileOutputStream Class – Usage & Examples
Java FileOutputStream class explained with constructors and methods. Learn how to write data to files in Java with examples and practical usage.
BufferedInputStream & BufferedOutputStream in Java
Java BufferedInputStream & BufferedOutputStream explained with uses, methods, and examples for efficient I/O handling and faster data processing in Java programs.
Java Thread Dump Analyser EASY
In this blog, we will learn about Java Thread Dump Analyser. We will start with the introduction and later will cover how to generate java dump. In the end, we will discuss common patterns you can see in java thread dump.
FilterInput/OutputStream
 In this blog, we will cover FilterInput/OutputStream
Sequence Input Stream
In this blog, we will discuss SequenceInputStream
BufferedReader Vs Scanner Class In Java EASY
Scanner parses primitive types and strings, useful for formatted input, while BufferedReader reads text efficiently from a character stream, ideal for large inputs,
Covariant Return Type in Java MEDIUM
Covariant return types in java allow an overridden method in a subclass to return a subtype of the return type declared in the parent class method. This enhances type safety and flexibility, enabling methods to return more specific types in subclass implementations without violating overriding rules.