Explain the term serialization?

Answer Posted / baskar

Introduction
Serialization is the process of saving an object in a
storage medium (such as a file, or a memory buffer) or to
transmit it over a network connection in binary form. The
serialized objects are JVM independent and can be
re-serialized by any JVM. In this case the "in memory" java
objects state are converted into a byte stream. This type of
the file can not be understood by the user. It is a special
types of object i.e. reused by the JVM (Java Virtual
Machine). This process of serializing an object is also
called deflating or marshalling an object.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can main() method in java can return any data?

918


How do you sort arraylist in descending order?

805


Explain where variables are created in memory?

787


Why is java not 100% pure oops?

835


How does java pattern compile work?

760


What is hash in java?

729


What is native code?

758


How would you format a date in java? I.e. In the ddmmyyy format?

1147


Is heap stored in ram?

727


Name few java util classes introduced with java 8 ?

728


What is difference between module and function?

785


What do you mean by thread safe?

779


5 Coding best practices you learned in java?

838


what is the difference between process and thread? : Java thread

789


Can we access instance variables within static methods ?

843