What exactly does it mean for a class to be Serializable in Java? Or in general, for that matter…
What exactly does it mean for a class to be Serializable in Java? Or
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Serialization is persisting an object from memory to a sequence of bits, for instance for saving onto the disk. Deserialization is the opposite – reading data from the disk to hydrate/create an object.
In the context of your question, it is an interface that if implemented in a class, this class can automatically be serialized and deserialized by different serializers.