为了向文件hello.txt尾加数据,下列个是正确创建指向hello.txt的流?( )
A. try{OutputStream out=new FileOutputStream("hello.txt");}catch(Exception e){}
B. try{OutputStream out=new FileOutputStream("hello.txt",true);}catch(Exception e){}
C. try{OutputStream out=new FileOutputStream("hello.txt",false);}catch(Exception e){}
D. try{Writer out=new FileWriter("hello.txt");}catch(Exception e){}