不想序列化的字段可以使用transient修饰。 由于Serializable对象完全以它存储的二进制位为基础来构造,因此并不会调用任何构造函数,因此Serializable类无需默认 ...
確定! 回上一頁