深拷贝和浅拷贝
深拷贝是两个对象的东西一模一样,但是引用类型的内存地址不一样。
而浅拷贝是两个对象的东西一模一样,但是引用类型的内存地址一样。
浅拷贝可以用icolone接口去实现,
深拷贝可以序列化成二进制以后在反序列化以后,就得到了.
There are two ways of constructing a software design.One is to make it so simple that there are obviously no deficiencies;the other is to make it so complicated that there are no obvious deficiencies.