Could you tell the reason of using RandomAccessFile?
Sometimes stream-based access just doesn't cut it. For example, if you were implementing a database you might have a table represented as a file with fixed-width records. The ability to change properties of that record in place without opening an OutputStream and rewriting the entire file from scratch is very significant.
Why it's better when I want to append some content to a file?
Thank you David. I've just read the API documents again and see what you mean. File Pointer makes things more efficient and easy in some certain situations
I will do the best with what God gave me!
Is this the real life? Is this just fantasy? Is this a tiny ad?
a bit of art, as a gift, the permaculture playing cards