Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
Java
10.0K+ articles
Java-Functions
4.2K+ articles
Java-File Class
53+ articles
Java-PrintWriter
34+ articles
Java-PrintStream
34+ articles
Java-Writer
14+ articles
Java-StringWriter
14+ articles
Java-CharArrayReader
10+ articles
Java-Reader
10+ articles
Java-IO package
259+ posts
Recent Articles
Popular Articles
Console flush() method in Java with Examples
Last Updated: 12 June 2020
The flush() method of Console class in Java is used to flush the console and to force any buffered output to be written immediately.Syntax:public void flush()Specified By:...
read more
Java
Java-Functions
Java-IO package
Console format(String, Object) method in Java with Examples
Last Updated: 12 June 2020
The format(String, Object) method of Console class in Java is used to write a formatted string to the output stream of the console. It uses the specified format string and...
read more
Java
Java-Functions
Java-IO package
Console printf(String, Object) method in Java with Examples
Last Updated: 12 June 2020
The printf(String, Object) method of Console class in Java is used to write a formatted string to the output stream of the console. It uses the specified format string and...
read more
Java
Java-Functions
Java-IO package
Console reader() method in Java with Examples
Last Updated: 12 June 2020
The reader() method of Console class in Java is used to retrieve the unique Reader object which is associated with the console. This reader() method is generally used by s...
read more
Java
Java-Functions
Java-IO package
Console readLine() method in Java with Examples
Last Updated: 12 June 2020
The readLine() method of Console class in Java is of two types:1. The readLine() method of Console class in Java is used to read a single line of text from the console.Syn...
read more
Java
Java-Functions
Java-IO package
Console readPassword() method in Java with Examples
Last Updated: 27 September 2022
The readPassword() method of Console class in Java is of two types:1. The readPassword() method of Console class in Java is used to read a password or passphrase from the ...
read more
Java
Java-Functions
Java-IO package
Console writer() method in Java with Examples
Last Updated: 27 October 2021
The writer() method of Console class in Java is used to retrieves the unique PrintWriter object which is associated with the console.Syntax:public PrintWriter writer()Para...
read more
Java
Java-Functions
Java-IO package
PushbackInputStream available() method in Java with Examples
Last Updated: 05 June 2020
The available() method of PushbackInputStream class in Java is used to find the number of bytes that can be read from the input stream without blocking. It returns the est...
read more
Java
Java-Functions
Java-IO package
PushbackInputStream mark() method in Java with Examples
Last Updated: 16 June 2022
The mark() method of PushbackInputStream class in Java is used to mark the current position in the input stream. This method does nothing for PushbackInputStream.Syntax:pu...
read more
Java
Java-Functions
Java-IO package
PushbackInputStream markSupported() method in Java with Examples
Last Updated: 05 June 2020
The markSupported() method of PushbackInputStream class in Java is used to verify the supportability of mark() and reset() methods. It always returns false as this class d...
read more
Java
Java-Functions
Java-IO package
Java FileWriter Class
Last Updated: 10 January 2025
Java FileWriter class of the java.io package is used to write data in character form to a file. The FileWriter class in Java is used to write character-oriented data to a ...
read more
Misc
Java
Java-IO package
Java-Files
Java IO Tutorial
Last Updated: 05 May 2023
Java programming language comes with a variety of APIs that helps the developers to code more efficiently. One of those APIs is Java IO API. Java IO API helps the users to...
read more
Java
Java-IO package
Java FileReader Class
Last Updated: 02 January 2025
FileReader in Java is a class in the java.io package which can be used to read a stream of characters from the files. Java IO FileReader class uses either specified charse...
read more
Java
Picked
Java-Classes
Java-IO package
Java-Files
How to Read Data From GZIPInputStream in Java?
Last Updated: 18 April 2022
The Java GZIPInputStream class (java.util.zip.GZIPInputStream) can be used to decompress files that are compressed with the GZIP compression algorithm, for instance via th...
read more
Java
Picked
Java-IO package
Java IO ObjectStreamField
Last Updated: 26 October 2021
The Java. io. ObjectStreamField class is a description of a Serializable field from a Serializable interface. This class is serialization’s descriptor for classes. An arra...
read more
Java
Picked
Java-IO package
1
2
3
4
...
18
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !