Method Object.secure() Method secure object secure(object str) Description Marks the object as secure, which will clear the memory area before freeing the object. See also String.secure()