测试MD编辑器

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/cpongo2/article/details/86608990
public class File_class {
    public static void main(String[] args) {
        FileOutputStream f = null;
        try {
            f = new FileOutputStream("a.txt");
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
        try {
            f.write(new byte[]{'q', 'w', 'e', 'r'});
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            {
               if(f!=null) {
                   try {
                       f.close();
                   } catch (IOException e) {
                       e.printStackTrace();
                   }
               }
            }
        }
    }
}
--------------------- 
作者:初心魏 
来源:CSDN 
原文:http://blog.csdn.net/qq_42306803/article/details/86528393 
版权声明:本文为博主原创文章,转载请附上博文链接!

11111111111111

猜你喜欢

转载自blog.csdn.net/cpongo2/article/details/86608990