Java API 沒有這樣做,我們可以手動實現: //自定義介面 public interface MyCloneable extends Cloneable{ public Object clone() throws CloneNotSupportedException; }
確定! 回上一頁