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

Serialization and the writeReplace/readResolve Methods

Running the Example

Complete the following procedure to compile and run the example:

  1. From yourbasedir/objectserialization/ReplaceableInterface, compile the file Substitute.java using JDKTM 1.2 or higher:
      javac Substitute.java
    
  2. Run the compiled file:
      java Substitute
    
blue bar

Additional Information

Abstract
Sources
List of Examples


Java Technology

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

Contact Us