-->
当前位置:首页 > 题库

单选题:Given:

Luz5年前 (2021-05-10)题库1044
Given:
```Java
void write() throws IOException {
DataOutputStream out = new DataOutputStream(
new FileOutputStream( new File("bin")));
out.writeInt(1);
out.write(1);
out.close();
}
```
After executing the function, the size of the file “data.out” is: @[C](2)

A. 4
B. 8
C. 5
D. Depends on the OS




A.4
B.8
C.5
D.Depends on the OS


答案:C