Hi James here's how we should intrepret that. Say suppose "criteria" is a
String array of length 7(it depends on the number of fields in each record of your assignment), then if you call find like below
The above search exaclty gives one record and so only that particular record number is returned in integer array.
Suppose now the criteria is like this
Now all of the hotels with "Hilton" as their name in db file are returned. We shuold treat "null" as "*" i.e. wild card match.
If criteria is
Now as all null, the entire db records(to be specific, record numbers) should be returned from find method.
My question is : should I return the records which has been set the deleted flag?
Thanks a lot!
James
Nope. Deleted flags are treated to be deleted. I tried to explain with some examples above. If you have any questions, please ask them. Good Luck
