What is Serialization?

Answer Posted / qim2010

Serialization is a process of reading or writing an object.
It is a process of saving an object’s state to a sequence of
bytes, as well as a process of rebuilding those bytes back
into a live object at some future time. An object is
marked serializable by implementing the java.io.Serializable
interface, which is only a marker interface -- it simply
allows the serialization mechanism to verify that the class
can be persisted, typically to a file.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is javac not recognized?

495


Do I need jdk or jre?

471


What are the new features about Java se 8 ?

519


What is a stream in java?

513


Why java is better than node.js?

474






What is @qualifier in java?

485


What is an entity in java?

480


What is java web application?

469


What is explicit casting?

548


What can open a jar file?

459


How do I enable java in google chrome?

448


What is mime in java?

502


What is dialect in java?

463


I am trying to create a new universal user group. Why can't i? : java security

514


What's the difference between authentication and authorization? : java security

501