阅读下列代码
Public class Example {
public static void main(String[] args) throws Exception {
OutputStream out = new FileOutputStream("itcast.txt ", true);
String str = "欢迎你!";
byte[] b = str.getBytes();
for (int i = 0; i <b.length; i++) {
out._____;
}
out.close();
}
}
请说出下划线上,填写的内容( )
1分
A.read(b) B.write(b) C.close() D.available()正确答案B