Why we need to serialize the object

Answer Posted / ragunath

Serialization is the process of saving the state of an object by converting it to a stream of bytes.the main purpose of serialize the object is to save the state of an object in order to have the ability to recreate the same object when required.

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the available thread states in a high-level?

739


In java, what is the difference between method overloading and method overriding?

831


What is final variable?

710


What is finalize method?

841


What is the final class modifier?

784


What do you mean by formatting?

756


Is arraylist sorted in java?

742


I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

930


What is a class component?

879


What is tostring () method?

771


Are functions objects in java?

821


What is the purpose of static keyword in java?

742


What is meant by design patterns?

818


What is meant by object?

801


How define set in java?

790