Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 7328
Total Votes: 144 votes
Average Rating: 3.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.