14 Replies Latest reply: Nov 13, 2009 2:17 AM by PhHein RSS

    Question about implementation of FileInputStream and FileOutputStream

    807580
      sorry if this question seem stupid...

      i know that using write() will cause the file to be overwritten, however, are the bytes really overwritten on the storage media, or will Java just make the OS jump the reference to a different place?

      im asking this because i wanna try to write my own File Shredder (for fun), instead of relying on the File Shredder that comes with SpyBot.