站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

Externalization with an NonExternalizable SuperClass - JDK 5 Documentation v1.5.0, Java 2 SDK 英文文档

blue bar

Exernalization with an NonExternalizable SuperClass

blue bar

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.

blue bar

Additional Information

Abstract
Sources
List of Examples
blue bar