https://www.zhihu.com/question/19773379 其实就是一组编码规范 1.成员变量都是设置私有的Private 2.提供setter,getter方法 3.提供序列化方法 主要是用于后面的封装,重用。