摘要: 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... 阅读全文
posted @ 2014-03-29 12:14 丶Blank 阅读(1638) 评论(0) 推荐(0) 编辑