Data Structure
Java
Python
HTML
Interview Preparation
Tutorials
Courses
Tracks
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
Java
9.3K+ articles
Misc
7.7K+ articles
Java-Functions
4.2K+ articles
Java - util package
1.6K+ articles
Java Programs
1.5K+ articles
java-basics
334+ articles
java-stream
142+ articles
Java-Library
71+ articles
java-file-handling
34+ articles
Java-I/O
75 posts
Recent Articles
Popular Articles
Java.io Package in Java
Last Updated: 23 July 2025
Java.io Package in JavaThis package provides for system input and output through data streams, serialization and the file system. Unless otherwise noted, passing a null ar...
read more
Java
Java-I/O
Java-Packages
Java Exercises - Basic to Advanced Java Practice Programs with Solutions
Last Updated: 09 October 2025
This Java exercise collection is designed to deepen your understanding of Java and refine your coding skills. The programs provide hands-on experience in solving real-worl...
read more
Java
Java Programs
Output of Java Program
Java-Library
Java-Output
Java-I/O
java-basics
Java-Object Oriented
Java-Strings
Java-Arrays
Java-Data Types
Java-Functions
Difference Between FileInputStream and ObjectInputStream in Java
Last Updated: 19 July 2022
FileInputStream class extracts input bytes from a file in a file system. FileInputStream is meant for reading streams of raw bytes such as image data. For reading streams ...
read more
Java
Difference Between
Picked
Java-I/O
java-stream
Fast Output in Java
Last Updated: 23 July 2025
While doing problems in various coding platforms in some questions we end up with (TLE). At that point of time even if we use fast input then also, sometimes (TLE) remains...
read more
Misc
Java
Java-I/O
FileOutputStream in Java
Last Updated: 29 August 2025
The FileOutputStream class in Java is used to write raw bytes to a file. It is part of the java.io package and is mainly used for writing binary data (like images, audio, ...
read more
Java
Java-I/O
Java-File Class
Serializable Interface in Java
Last Updated: 23 July 2025
The Serializable interface is present in java.io package. It is a marker interface. A Marker Interface does not have any methods and fields. Thus classes implementing it d...
read more
Java
Java-Collections
Java-I/O
print vs println in Java
Last Updated: 20 November 2024
print() and println() are the methods of System.out class in Java which are used to print the output on the console. The major difference between these two is that print()...
read more
Java
Java-I/O
java-basics
Java-Functions
How to Read and Print an Integer Value in Java?
Last Updated: 11 July 2025
The given task is to take an integer as input from the user and print that integer in Java.To read and print an integer value in Java, we can use the Scanner class to take...
read more
Java
Java-I/O
Java-Integer
Scanner nextShort() method in Java with Examples
Last Updated: 11 July 2025
The nextShort(radix) method of java.util.Scanner class scans the next token of the input as a short. If the translation is successful, the scanner advances past the input ...
read more
Java
Java - util package
Java-I/O
Java-Functions
Scanner radix() method in Java with Examples
Last Updated: 11 July 2025
The radix() method of java.util.Scanner class returns this scanner's default radix.Syntax: public int radix()Return Value: This function returns the default radix of this ...
read more
Java
Java - util package
Java-I/O
Java-Functions
Scanner reset() method in Java with Examples
Last Updated: 11 July 2025
The reset() method of java.util.Scanner class resets this scanner. On resetting a scanner, it discards all of its explicit state information which may have been changed by...
read more
Java
Java - util package
Java-I/O
Java-Functions
Scanner skip() method in Java with Examples
Last Updated: 11 July 2025
skip(Pattern pattern)The skip(Pattern pattern) method of java.util.Scanner class skips input that matches the specified pattern, ignoring the delimiters. The function skip...
read more
Java
Java - util package
Java-I/O
Java-Functions
Scanner findInLine() method in Java with Examples
Last Updated: 11 July 2025
findInLine(Pattern pattern)The findInLine(Pattern pattern) method of java.util.Scanner class tries to find the next occurrence of the specified pattern ignoring delimiters...
read more
Java
Java - util package
Java-I/O
Java-Functions
Scanner delimiter() method in Java with Examples
Last Updated: 11 July 2025
The delimiter() method ofjava.util.Scanner class returns the Pattern this Scanner is currently using to match delimiters.Syntax:public Pattern delimiter() Return Value:...
read more
Java
Java - util package
Java-I/O
Java-Functions
Scanner close() method in Java with Examples
Last Updated: 11 July 2025
The close() method ofjava.util.Scanner class closes the scanner which has been opened. If the scanner is already closed then on calling this method, it will have no effect...
read more
Java
Java - util package
Java-I/O
Java-Functions
1
2
3
4
5