hi, I got some questions about the required interface
first, in the interface sun gives us the read method it says:
// Reads a record from the file. Returns an array where each
// element is a record value.
public String [] read(int recNo) throws RecordNotFoundException;
As I understand, it returns ONE record each time and the
string array should carry the field values for this record. like array[0] stores the first field's value. Here "a record value" should be a field value. Is it right?
another question, what's the value of recNo? I can't find it from the database schema. Is it just a index of the record or other id? Is it in the database or just used for the program(record index)?
third question, when I use the "Data.java" to implement the interface, Can I use another class to wrap "Data.java"?
thanks in advance!!!
[ June 26, 2006: Message edited by: Nova Chen ]