The target is listed in javadoc . This means that cloning an object of this type is allowed.
If your class uses the built-in implementation of clone()
(provided by the Object.clone()
method), then this marker interface allows phased cloning. (If you call the clone built-in method on an object that does not implement Cloneable
, you get a CloneNotSupportedException
.)
source share