FILE COPY
treats all files as simple binary ones and
uses byte-based read and write methods.LIST2
treats all data as record-based (listing is
an inherently record-based activity).NOOP
treats all data as frame-based (simplifies
this primitive and improves copy speed).Don't Make This Mistake: |
---|
![]()
public int close() { if (outfile!=null) { outfile.close(); } } |
Java Experts Take Note: |
---|
![]() double . There are two reasons for this:
long and cast it to double
when reading/writing (this prevents the user from entering a fractional record number).
|