¿¹Á¦
public class
ClassA
extends
Cloneable
{{
private
clone()
throws
CloneNotSupportedException () {
//...
}
}
¼Ö·ç¼Ç
Ç×»ó clone() ¸Þ¼Òµå¸¦ publicÀ¸·Î ¼±¾ðÇϽʽÿÀ.
public class
ClassA
extends
Cloneable
{{
public
clone
throws
CloneNotSupportedException () {
//...
}
}