I'll be having lot of files in a directory. I'll be just getting the file names using File.getName()
and log them to a log file. I presume, I don't need to close the file since I'm not doing any read/write operation in it.
Is this correct?
See Question&Answers more detail:os