A-A+
OutputStreamWriter类包含的方法主要有()。A.public OutputS
问题详情
OutputStreamWriter类包含的方法主要有()。
A.public OutputStreamWriter(OutputStream out)
B.public voidwrite(intc)throws IOException
C.public voidwrite(String str)throws IOException
D.public flush throws IOException请帮忙给出正确答案和分析,谢谢!
参考答案
正确答案:A
解析:选项B、C、D都是Writer类的方法。OutputStreamWriter类包含的方法有OutputStreamWriter()、 close()等。