Spec-Zone .ru
спецификации, руководства, описания, API
|
Complete the following procedure to compile and run this example:
- From yourbasedir/objectserializationexamples/ExternalizableSuperclass, compile the Savesuper.java file using JDKTM 1.1 or higher:
javac Savesuper.java- Run the file you just compiled: java Savesuper
The original book object is printed (showing the object before serialization) and then the new book object is printed (showing the object after serialization).
Java Technology |
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved. |