试题详情
- 单项选择题Which statements are true, given the code new FileOutputStream("data", true) for creating an object of class FileOutputStream?()
A、FileOutputStream has no constructors matching the given arguments.
B、An IOExeception will be thrown if a file named "data" already exists.
C、An IOExeception will be thrown if a file named "data" does not already exist.
D、If a file named "data" exists, its contents will be reset and overwritten.
E、If a file named "data" exists, output will be appended to its current contents.
- E
关注下方微信公众号,在线模考后查看
热门试题
- One of th
- What is th
- 以下关于支持Java运行平台的叙述,哪项
- public class&e
- Which statement
- 下列属于非受检异常的是哪项?()Q
- 以下关于File对象的描述中,错误的是(
- Given thatQ
- You need
- 下列有关Swing的叙述,哪项错误?()
- Which statement
- GUI控件的事件处理中,事件源与监听器之
- 解百马百瓦古题。大、小马和马驹共100匹
- Which interfac
- What is th
- public class&e
- JDK由组成以下哪几部分组成?()
- 建立Socket类的客户端需要哪些步骤?
- 以下不属于tcp连接断开的状态是()。
- package geomet