Making Child classes as Non Serializable in java

前端 未结 7 1243
無奈伤痛
無奈伤痛 2020-12-09 16:43

I have a class which implements Serializable. Now I extends this class and I want this extended class to be non Serializable. So how to do it?

For example. I have

相关标签:
7条回答
  • 2020-12-09 17:36

    Need to implememnt readObject() and writeObject() Methods

    0 讨论(0)
提交回复
热议问题