While java.io.RandomAccessFile does have a close() method java.io.File doesn\'t. Why is that? Is the file closed automatically on fina
java.io.RandomAccessFile
close()
java.io.File
A BufferedReader can be opened and closed but a File is never opened, it just represents a path in the filesystem.