I know this is a childish question for many but while reading Serializable Objects I am able to understand what is serialization is but not able to identify scenario where to use Serializable Objects.
Points need to be understand
When to implement Serializable interface while creating new class?
public class ScjpMainClass implements Serializable { private static final long serialVersionUID = 4950998071495051590L; }
What are the benefits we achieved while using Serializable interface in future codes. As i know its saves the sate of objects. but looking a scenario where to use saved state of object in future codes.
Hope you all understand my curiosity about Serializable. May be I am not to much streamlined towards my question but this question strike my mind while studying Serializable