Why we need to serialize the object
Answer Posted / balaji
when ever an object's state needs to be saved to retrieve it
after some time we need to serialize the object.
Serialization is the process of writing the state of an object
to the stream.
The state of an object will be available in instance variables.
| Is This Answer Correct ? | 27 Yes | 7 No |
Post New Answer View All Answers
What is string array?
What is the use of volatile in java?
What do you understand by the term singleton?
Why is java called java?
List types of storage classes in java?
What is the difference between a switch statement and an if statement?
What is difference between c++ and java ?
What is the use of isempty in java?
Should you use singleton pattern?
What is the use of arraylist in java?
What is a literal coding?
What are dot operator queries?
What is a map? What are the implementations of map?
Can we have more than one package statement in the source file?
What is the difference between variable & constant?