OutputStreamWriter类包含的方法主要有(  )。

admin2010-12-17  25

问题 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()等。
转载请注明原文地址:https://kaotiyun.com/show/he9p777K
0

最新回复(0)