Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 4577
Total Votes: 139 votes
Average Rating: 2.81 out of 5
Description:java.io.NotSerializableException comes when you try to serialize a class, which contains another object in form of member variable, which is not Serializable. There are two ways to solve this error, either customize serialization process by using Externalizable or just use transient variable to exclude those members during Serialization process.