Exernalization with an NonExternalizable SuperClass
Running the Example
Complete the following procedure to compile and run the example:
- From yourbasedir/objectserializationexamples/NonExternalizableSuperclass,
compile the file Nonexternsuper.java using JDK1.1 or higher:
javac Nonexternsuper.java
- Run the compiled file:
java Nonexternsuper
The book object prints out before and after serialization.
For more information: