• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UrlyBird read method description

 
Mike Tilling
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

In mu assigement UrlyBird, they describe the read method as follows

"reads a record from the file. Returns an array where element is a record value"
public String[] read(int recNo) throws RecordNotFoundException


-I understand from "each element is a record value" : each element is a record field value. am I wrong?
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The entire record it returns is the array.
Each element in the array represents a field in the database record.
 
Mike Tilling
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeroen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic