Hi all,
Looking at my assignment, UrlyBird 1.3.2, DBMain interface contains the following comment:
public interface DBMain {
// Reads a record from the file. Returns an array where each
// element is a record value.
public
String [] read(int recNo) throws RecordNotFoundException;
// rest of the code
}
The way I am thinking about doing data reads is to read all the data into an ArrayList at first use and then use the read method of the above interface to read from the ArrayList. The comment however, states that this method "Reads a record from the file". Well, technically speaking I am not reading from the file but from the memory. Is this likely to cause a problem?
Thanks in advance
Mo.