import java.io.*;
public class FileReaderWriterDemo
{
public static void main (String[] args)
{
try
{
FileReader fr = new FileReader (FileDescriptor.in);
FileWriter fw = new FileWriter (FileDescriptor.out);
fw.write(fr.read());
fr.close();
fw.close();
}
catch (Exception e)
{
}
}
}
评论