Class Copy1
java.lang.Object
Copy1
- public class Copy1
- extends Object
Simple read-a-char, write-a-char loop to exercise file I/O.
Usage: java Copy1 inputfile outputfile
Constructor Summary |
Copy1()
|
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 |
Copy1
public Copy1()
main
public static void main(String[] args)
- All work is done here.
- Parameters:
args
- names of the input file and output file.