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

How do you type the lambda symbol?

665


Is jdk required for netbeans?

662


Can you compile java into exe?

729


What is java api?

633


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

702


What is reflection in java?

641


How do you find lambda?

663


Explain the inheritance principle.

692


What does @override mean in java?

645


Is jar an executable?

619


What is a singleton in java?

647


How do I enable javascript?

698


How do you create a jar file?

680


What is a cookie in java?

695


What is meant by annotation in java?

708