Serialization and Deserialization in Java Serialization Serializable Interface Example of Serialization Example of Deserialization Serialization with Inheritance Externalizable interface Serialization and static…
Java IO Tutorial
Java Scanner Scanner class in Java is found in the java.util package. Java provides various ways to read input from the keyboard,…
Java transient Keyword In Java, Serialization is used to convert an object into a stream of the byte. The byte stream consists…
Java Writer It is an abstract class for writing to character streams. The methods that a subclass must implement are write(char[], int,…
Java FileDescriptor FileDescriptor class serves as an handle to the underlying machine-specific structure representing an open file, an open socket, or another…
Java – PipedWriter The PipedWriter class is used to write java pipe as a stream of characters. This class is used generally…
Java FileInputStream Class Java FileInputStream class obtains input bytes from a file. It is used for reading byte-oriented data (streams of raw…
Java PrintStream Class The PrintStream class provides methods to write data to another stream. The PrintStream class automatically flushes the data so…
Java FileOutputStream Class Java FileOutputStream is an output stream used for writing data to a file. If you have to write primitive…
Java PrintWriter class Java PrintWriter class is the implementation of Writer class. It is used to print the formatted representation of objects…