import java
.io
.*
;
public class Test {
public static void main(String
[] args
) throws IOException
{
FileReader fr
=new FileReader("a.txt");
FileWriter fw
=new FileWriter("b.txt");
int ch
=0;
while ((ch
=fr
.read())!=-1){
fw
.write(ch
);
}
fw
.close();
fr
.close();
}
}
转载请注明原文地址: https://lol.8miu.com/read-15126.html