I\'m creating temporary file in java but i\'m unable to delete it. This is the code I have written:
temp = File.createTempFile(\"temp\", \".txt\"); temp.dele
Code to close the inpustream and outputstream:
FileInputStream in = new FileInputStream(); ArrayList list_in = new ArrayList(); list_in.add(in); FileOutputStream out = new FileOutputStream(); ArrayList list_out = new ArrayList(); list_in.add(out); public do_before_exit() { for(int i=0;i