Category Java
Arrays in Java | Array Declaration

Array in Java is a container object that holds a group or collection of elements of a similar data type. In other words, an array is a fixed-size data structure that is used to hold more than one value of…
ObjectOutputStream in Java
ObjectOutputStream in Java is an output stream that writes serialized objects to a text file. It is responsible for writing objects, primitive type values, and strings to a byte stream. In other words, an ObjectOutputStream is an output stream that…
ObjectInputStream in Java
So far, we have learned to read and write characters, bytes, strings, and primitive data type values from a text file. It is also possible to perform read and write operations on objects using object streams. The object streams are…
Externalization in Java
Externalization in Java is a process that improves the performance of serialization and deserialization mechanisms by complete control over what data fields are serialized and deserialized. In other simple words, externalization is used to customize serialization and deserialization processes. It…
Serialization in Java | Deserialization, Example

Serialization in Java is the process of writing the state of an object to a byte stream. In other words, it is the process by which we can store (or save) the state of an object by converting it to…