Spec-Zone .ru
спецификации, руководства, описания, API

Exernalization with an NonExternalizable SuperClass

Running the Example

Complete the following procedure to compile and run the example:

  1. From yourbasedir/objectserializationexamples/NonExternalizableSuperclass, compile the file Nonexternsuper.java using JDKTM 1.1 or higher:
      javac Nonexternsuper.java
    
  2. Run the compiled file:
      java Nonexternsuper
    

The book object prints out before and after serialization.

Additional Information

Abstract
Sources
List of Examples


Java Technology

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.

Contact Us