top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is JAVA serialization, please explain in detail with example?

+3 votes
415 views
What is JAVA serialization, please explain in detail with example?
posted Dec 30, 2014 by Shyam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes
 
Best answer

Serialization is a mechanism for saving the objects as a sequence of bytes and later when needed, retrieve the byte sequence back into a copy of object. To make an object of class serializable, the class must implement serializable interface. Serializable interface has no methods but it only indicates that the class implementing serializable interface can be considered for serialization.

answer Dec 31, 2014 by Karthick.c
...