Using Serialization with a NonSerializable Superclass

Abstract

Shows how to serialize a subclass which has a superclass that is not serializable.

When a superclass of a particular subclass is not serializable, the subclass must save and restore the state of the superclass.

blue bar

Additional Information

Source Files
Running the Example
List of Examples

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

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部