单选题:Given:
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
```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