What one should take care of while serializing the object?
Ask by Sumit Kesarwani
Updated 20 Sep 2020
One should make sure that all the included objects are also serializable. If any of the objects is not serializable then it throws a NotSerializableException.