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


Please Help Members By Posting Answers For Below Questions

What is hash table in java?

497


What is difference between next () and nextline () in java?

546


What is java console application?

568


Why string is not a wrapper class?

650


What is basic syntax?

559






What is the vector class in java programming?

571


How can I debug the Java security exceptions and AccessControlExceptions?

644


Can we sort arraylist in java?

569


What is the difference between multiple processes and multiple threads?

578


Is break statement can be used as labels in java?

518


What is nested class?

579


Explain the difference between private, public, package and protected in java?

611


What is the intersection and union methods?

559


What is the difference between equals() and == in java?

535


Can we have two methods in a class with the same name?

590