file:///C:\Users\john\AppData\Roaming\Tencent\Users\1056375224\QQ\WinTemp\RichOle\DZBB@RJB$3X223V_]G$%]VE.pngfile:///package cn.itcast;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
public class OutputStreamWriter {
public static void main(String[] args) throws IOException{
OutputStreamWriter osw=new OutputStreamWriter(new FileOutputStream("a.txt"),"GBK");
}
}
红线的是报错的地方!
|
|