I have the following questions on the Data File provided and the instructions given:
1. The instructions say: "All numeric values are stored in the header information use the formats of the DataInputStream and DataOutputStream classes".
I am assuming here it is just for our information and not really meant to read the data using the DataInputStream Class. I am planning to use RandomFileAccess class to read the file. Please let me know if my understanding is not correct
2. Magic Cookie Value: Is it ok to store the Magic cookie value in some properties file and use it to validate the value stored in the data file to match file. Or is there any other suggested way to validate this value? Or do you think we don't need to worry about it?