![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
为了向文件 hello.txt 尾加数据,下列哪个是正确创建指向 hello.txt 的流?
A.
try { Outputstream out = new FileOutputStream ("hello.txt"); } catch(IOException e) { }
B.
try { OutputStream out = new FileOutputStream ("hello.txt",true); } catch(IOExcption e) { }
C.
try { OutputStream out = new FileOutputStream ("hello.txt",false); } catch(IOExcption e) { }
D.
try { OutputStream out = new OutputStream ("hello.txt",true); } catch(IOExcption e) { }