what is meant by serialization?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
Serialization is the process of translating a state of an
object into a stream of bytes.
The process of reconstructing an object from a stream of
bytes that represent its serialized state is called
de-serialization.
Serialization is mostly used when the state of objects have
to be written to persistent storage for later retrieval or
for transfer over a network.
Is This Answer Correct ? | 60 Yes | 4 No |
Answer / animesh
Serialization is the process of storing object properties.
To avoid serialization we use transient modifier.
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / shakir khan
serialization is the mechanism by which youcan save
the state of an object by converting in to a byte stream.
Is This Answer Correct ? | 13 Yes | 7 No |
Answer / arpit
Serialization is used for persistence it is done by
implementing serializable interface which is a wrapper
class does not have any method
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / lala
serialization is the process of storing object in byte
Stream over network or file.to avoid serialization we have
to declare the variable as trasient.Inorder to make object
serialisation class implement serilazable
interface.Serializable Interface is an Marker
interface.Marker interface doesn't contain any method.so
how it works? it will call the object class methods.
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / ravikiran
Serialization is the process of saving the object state
into an output stream
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / abilash
Serialization is a Process of translating a state of object
into a stream of bytes.
Is This Answer Correct ? | 2 Yes | 2 No |
What are untrusted applets?
How many bits is a char?
What is the difference between add() and addElement() method in Vector Class ?
What is the difference between pass by reference and pass by pointer?
I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }
What are unchecked exceptions in java?
What is integer valueof?
Define an applet in java?
Explain the difference between static and dynamic binding in java?
Is string is a class in java?
What is the life-cycle of an object?
Can memory leak in java?