摘要:
Java中的transient,是用于声明序列化的时候不被存储的。例子:package ThreadTest;/** * Created with IntelliJ IDEA. * User: Blank * Date: 14-3-29 * Time: 下午12:03 */import java.io.*;import java.util.*;class Logon implements Serializable { private Date date = new Date(); private String username; private transient Strin... 阅读全文