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