Hi can someone help with this part of the question and show me how to build 3 records for the New_Records class.(or even a example that uses this?)
Thanks!
public
class New_Records {
int account;
String Name;
String lastName;
double minutes;
char status;
*Required
You must create a file of 3 records for the New_Records class.
- pipe in the data from a text file.
records and text files don't mix well, but if you are going to do that, I cannot recommend enough spitting out how many records you have up front (in this case, 3).
so your file looks like 3
record 1
record 2
record 3
double minutes; this really looks like an int value to me. you can have fractional min but people get frustrated reading 18.5 min (18 min 30 sec) or 11.25 etc. Beyond the simple fractions, 13.6521 min is what? You have to stare at it for a few moments to figure out what that means in terms of time and it will be approximate if you don't run it thru a calculator. (-> H.ms FTW HP11C !)