你说意思 这样就可以了
import java.io.*;public class io1
{
BufferedWriter w;
BufferedReader in;
String s;
public io1()
{
try {
in = new BufferedReader(new FileReader(new File(\"C://2.txt\")));
s=in.readLine();
System.out.println(s) ;
w = new BufferedWriter(new FileWriter(new File(\"C://1.txt\")));
w.write(s);
w.close();
in.close();}
catch(Exception e)
{}
}
public static void main(String[] args) {
new io1();
}
}
unicorn-h.spaces. ◇◆ sava-scratch.spaces. noh enol ! pue pu!w hw u! shemle aq ll!m noh