public interface Cloneable
clone() in Object
checks if the object being cloned implements this interface and throws
CloneNotSupportedException if it does not.Object.clone(),
CloneNotSupportedExceptionCopyright © 2025. All rights reserved.