种种情况就是没有序列化。序列化可以将内存中的类写入文件或数据库中

Serializable 是这个包下的 import java.io.Serializable;

把XXX这个类实现Serializable接口,如果你的这个类是XXX:
public class XXX implements Serializable{
...
}

相关文章:

  • 2022-01-17
  • 2021-09-20
  • 2021-06-29
  • 2021-10-30
  • 2021-11-13
  • 2021-08-11
  • 2021-04-22
  • 2022-12-23
猜你喜欢
  • 2021-09-28
  • 2021-06-19
  • 2022-12-23
  • 2021-10-02
相关资源
相似解决方案