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 hash table in java?
What is difference between next () and nextline () in java?
What is java console application?
Why string is not a wrapper class?
What is basic syntax?
What is the vector class in java programming?
How can I debug the Java security exceptions and AccessControlExceptions?
Can we sort arraylist in java?
What is the difference between multiple processes and multiple threads?
Is break statement can be used as labels in java?
What is nested class?
Explain the difference between private, public, package and protected in java?
What is the intersection and union methods?
What is the difference between equals() and == in java?
Can we have two methods in a class with the same name?