数据初始化的方法

通过set函数设置初始化数据或者是带参构造函数初始化。

原文地址:https://www.cnblogs.com/tianzijiaozi/p/7616898.html