为了向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(IOException e){}
C. try{ OutputStream out = new FileOutputStream(“hello.txt”,false);}Catch(IOException e){}
D. try{ OutputStream out = new OutputStream(“hello.txt”,true);}Catch(IOException e){}