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

Is java singleton thread safe?

0 Answers  


What is a container in java?

0 Answers  


there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.

0 Answers   Sapient,


What's the difference between local, global and universal groups? : java security

0 Answers  


In hibernate what is the difference between the Session and SessionFactory?

0 Answers   Cap Gemini,






What is the difference between jar and executable jar?

0 Answers  


Is java built on c?

0 Answers  


What is the singleton class in java?

3 Answers  


Does jvm maintain a cache by itself? Does the jvm allocate objects in heap? Is this the os heap or the heap maintained by the jvm? Why

0 Answers  


Write a program using call by refernce for two different classes to explain to print whether a given number is automorphic or not.

0 Answers  


What is cdi in java?

0 Answers  


Please tell what are frames,pannel,container,jframe,jpannel and what are there relation?

1 Answers   TCS,


Categories