java-logo

Serialization in Java

Java provides a mechanism called Serialization nothing but conevrting Java object as a stream of bytes which includes the object’s data as well as information about the object’s type and the types of data stored in the object. By using Serialization mechanism we can persist the object state in file or DB,the reverse mechanism i.e reading […]