1、实现java.lang.Cloneable接口. 要clone的类为什么还要实现Cloneable接口呢?Cloneable接口是一个标识接口,不包含任何方法的!这个标识仅仅是针对Object类 ...
確定! 回上一頁