Cloneable注解使用

使用 clone()方法的类必须 implement Cloneable 

如果没有继承,clone()方法会报错 java.lang.CloneNotSupportedException异常

原文地址:https://www.cnblogs.com/zhongchang/p/12085222.html