My thoughts are to parse the file and create an ArrayList that holds all of the existing records in memory when it starts. If the user needs to search then the records are all there ready to go
If the user needs to search then the records are all there ready to go.
Does booking a room mean that the user selects a room as well as entering an id for the 'owner' field and that I just update this field with the owner number in it? (not allowing for 0) as this means the room is free
4) From the Data.java interface I must implement the delete comments say It sounds like I just remove this record from the file, however there is a valid data field flag that says 0x8000 implies deleted record so do I just change the records flag to this? or delete the record all together.
However my instructions state that blank means the room is free - therefore under my instructions, 0 could be a valid owner number.