Let say we have a class ABC that implements Serializable
interface, but it contains a member variable object of class XYZ
that does not implement Serializable interface. Due to this it is not
possible to Serialize the class ABC.
To solve this issue, we can mark the member variable XYZ as
Transient in class ABC. This will allow us to serialize the class
ABC.