Hi everyone,
I have carefully read the SCJD5 book and the Dvd sample. However, when it comes to my real assignment (Contractor), there are some aspects that I am not very clear and want to clarify with your help. I really appreciate.
1. One method in the required interface is
, should the 1 Byte Deleted Flag in the beginning of the record be included in the
string[] and returned?
2. I checked some of the previous posts, it seems that in our assignment, we usually build a map between the recordNo and the String[], correct?
3. Should the index of the recordNo start from 0 or 1?
4. When we delete a record, we just need to set the deleted flag and leave the record there, rather than removing those bytes from the file, correct?
5. Since we can know the sequence, length, and the starting location of the data section, we do not need to read all those meta information in the beginning, right? In other words, we can just skip all those bytes, and start reading the records, correct?
These might be very beginner questions, but I am really a little uncertain about these after reading the SCDJ5 book and the Dvd sample project, because there are some differences.
Thank you so much.
Yu