Suppose I create a temporary file in Java with the method
File tmp = File.createTempFile(prefix, suffix);
If I do not explicity call the
You can manually delete the file before terminating the process if you want to, however when the process is terminated the file will be deleted as well.