Class Copy2
java.lang.Object
Copy2
- public class Copy2
- extends Object
Simple read-a-line write-a-line loop to exercise file I/O.
Usage: java Copy2 inputfile outputfile
Constructor Summary |
Copy2()
|
Method Summary |
static void |
main(String[] args)
All work is done here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Copy2
public Copy2()
main
public static void main(String[] args)
- All work is done here.
- Parameters:
args
- names of the input file and output file.