当前页面: 
在线文档首页 > 
JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Substitution by Serializable Classes - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
 
    
    Serialization and the writeReplace/readResolve Methods
    
     
    
    Running the Example
    
    
      
      Complete the following procedure to compile and run the example: 
      
        - From yourbasedir/objectserialization/ReplaceableInterface,
          compile the file Substitute.java using JDKTM
          1.2 or higher:
  javac Substitute.java
 
- Run the compiled file:
  java Substitute
 
    
     
    
    Additional Information
    
    
      - Abstract 
- Sources 
- List of Examples 
