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