Advanced Java Programming20825 marksRandom file access
How do you access file randomly? Give an example.
How do you access file randomly? Give an example. [5]
Random file access (also called direct access or seek access) allows you to read or write data at any position in a file without having to read through all preceding data sequentially. This is in contrast to sequential access where you must read from the beginning. The key steps are: 1. Open the ...