Do I need to close files I perform File.getName() on?
Asked 2011-11-21T12:26:30.657
17
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.