Documentation Contents |
Complete the following procedure to compile and run the two examples:
- From yourbasedir/objectserializationexamples/NonSerializableSuperClass, compile the files using JDKTM 1.1 or higher:
javac NonSerialSuperExample.java javac Book.java javac ReadingMaterial.java- Run the compiled file:
java NonSerialSuperExampleThe book object prints out before and after serialization.
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved. Please send comments using this Feedback page. |
Java Technology |