What is Serialization?

Answers were Sorted based on User's Feedback



What is Serialization?..

Answer / qim2010

Serialization is a process of reading or writing an object.
It is a process of saving an object’s state to a sequence of
bytes, as well as a process of rebuilding those bytes back
into a live object at some future time. An object is
marked serializable by implementing the java.io.Serializable
interface, which is only a marker interface -- it simply
allows the serialization mechanism to verify that the class
can be persisted, typically to a file.

Is This Answer Correct ?    5 Yes 0 No

What is Serialization?..

Answer / rithi

In computer science, in the context of data storage and
transmission, serialization is the process of converting a
data structure or object into a sequence of bits so that it
can be stored in a file or memory buffer, or transmitted
across a network connection link to be "resurrected" later
in the same or another computer environment. When the
resulting series of bits is reread according to the
serialization format, it can be used to create a
semantically identical clone of the original object. For
many complex objects, such as those that make extensive use
of references, this process is not straightforward.
This process of serializing an object is also called
deflating or marshalling an object. The opposite operation,
extracting a data structure from a series of bytes, is
deserialization (which is also called inflating or
unmarshalling).

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More Java Related AllOther Interview Questions

What is a driver in java?

0 Answers  


What are all the documents have you involved in preparation of a Project as a Project Lead?

2 Answers  


What does el mean in java?

0 Answers  


How do I run a project in netbeans?

0 Answers  


i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com

0 Answers   TCS,






What is the need to declare main() method as static in Java?

12 Answers  


In an htm form i have a button which makes us to open another page in 15sec.how will you do that?

0 Answers  


Expain ur organisation process( V-model)?.

1 Answers   Cap Gemini,


Employee has a Passport. here employee is an object and passport is an object, give the class design

3 Answers  


How can I write a program that takes command line input?

0 Answers  


What's the difference between authentication and authorization? : java security

0 Answers  


How do I create an executable jar file?

0 Answers  


Categories