package suncertify.db;
public interface DBAccess
{
// Reads a record from the file. Returns an array where each
// element is a record value.
public
String [] readRecord(long recNo)
throws RecordNotFoundException;
......
}
I'm not sure what the return value means. Because the parameter is Record No,so there should be only one record for return. Why return type is String array?
Or Each element of the array saves one part of the record? For example, String [1] means name, String [2] meams location ...?
Thanks,