资讯

When a class is not Serializable, this tool returns the message “Class –yourClassNameHere– is not Serializable.” An example of this is shown in the next screen snapshot.
In this example, if Address doesn’t implement Serializable, a java.io.NotSerializableException will be thrown when trying to serialize a Person object. See Also: Top Java IDEs and Code Editors ...