QUESTION 7
When comparing java. io. BufferedWriter to java.io.FileWriter, which capability
exist as a method in only one of the two?
A. closing the stream
B. flushing the stream
C. writing to the stream
D. ing a location in the stream
E. writing a line separator to the stream
Answer: ( E )
只有BufferedWriter具有newLine( )方法; Reader 才有功能。
参考大纲:I/O操作 — BufferWriter和FileWriter
不明白请高手讲解,谢谢!
When comparing java. io. BufferedWriter to java.io.FileWriter, which capability
exist as a method in only one of the two?
A. closing the stream
B. flushing the stream
C. writing to the stream
D. ing a location in the stream
E. writing a line separator to the stream
Answer: ( E )
只有BufferedWriter具有newLine( )方法; Reader 才有功能。
参考大纲:I/O操作 — BufferWriter和FileWriter
不明白请高手讲解,谢谢!
解决方案 »
- 菜帖:书本错了,还是java更新版本了?"中国 abc".substring(1,3)
- 求JAVA高手解答?
- 急请高手指点 :java 命令行显示内容在UNIX下布局比较乱
- cast问题 求助啊!
- 抽象类不能被实例化。但是为什么可以这样写?
- 请教io字节流读写与字符流读写的区别?谢谢
- 菜鸟提问,真奇怪,这是为什么????
- JDK1.4包含了assert,JUNIT还有使用的价值吗?
- javamail中如何知道邮件的优先级如是普通还是紧急的呀
- 哪位大虾兼好人,给出jre的专业解释, 我写论文介绍用
- System.out.println(".g.dfg.g".replaceAll(".","@")); 结果为啥不对?
- 菜鸟问题——整型常量的输出
FileWriter也没有功能~