title: Why doesn't java.io.File have a close method?
body: <p>While <code>java.io.RandomAccessFile</code> does have a <code>close()</code> method <code>java.io.File</code> doesn't. Why is that? Is the file closed automatically on finalization or something?</p>