Logout

Random Access File Deletion Using Flag

I'll leave this one up to you. But the idea is that you simply have one of the fields of each record that acts as a "flag" indicating whether or not that particular record is "available", or "deleted", or "taken". So when doing a hash and coming up with a record whose "availability" field says either "available", or "deleted", you can write there.

There are different ways to approach this, but basically that's the idea. And do note that if you are going to be trying to get all three potential Mastery Aspects for use of RandomAccessFile, you really should be doing it the hash way, not the sequential way.