Serialization and deserialization in Java

In Java Object Serialization is implemented with the help of ObjectInput and ObjectOutput interfaces, which extends DataInput and DataOutput interfaces, respectively. ObjectOutputStream class and the ObjectInputStream class implement the ObjectOutput interface and the ObjectInput interface, respectively. These two classes provides some set of methods which helps in writing and reading binary form of Object and Primitive values (int,long,double etc.).
Serialization is a process of converting an object into a sequence of bytes which can be persisted to a disk or database or can be sent through streams. The reverse process of creating object from sequence of bytes is called deserialization.
This process are mainly implemented by web design company in bangalore

Comments

Popular posts from this blog

Collections in Java -ArrayList