Hi Dennis,
I believe this is something you will need to point out in your choices.txt. From what I've read on these Javaranch forums is that the testers won't assume anything you do, and that
you should probably state it. I think whichever choice you make...7 or 8...you should state why you did that and let them know which index corresponds to which field value.
For me, I have 6, because I don't pass the delete flag. I do use the delete flag within my data system, but when it's regarding data retrieval, I don't see the need for it.
I'm sure others will have 7 or 8.
The other thing is I'm not sure which assignment you're doing, so you may have more fields in your database schema, so the numbers will vary.
In summary, just document it!
As for the verification of the values passed in data[], you'll have to make a decision. I have made a decision on how to handle this matter, and it will be different for other people.
Vince