单选题:Given:
Given:
```Java
void write() throws IOException {
DataOutputStream out = new DataOutputStream(
new BufferedOutputStream(
new FileOutputStream(
new File("data.out"))));
out.writeInt(123456);
out.close();
}
```
After executing the function, the size of the file “data.out” is:@[A](2)
A. 4
B. 6
C. 7
D. Depends on the OS
A.4
B.6
C.7
D.Depends on the OS
答案:A
```Java
void write() throws IOException {
DataOutputStream out = new DataOutputStream(
new BufferedOutputStream(
new FileOutputStream(
new File("data.out"))));
out.writeInt(123456);
out.close();
}
```
After executing the function, the size of the file “data.out” is:@[A](2)
A. 4
B. 6
C. 7
D. Depends on the OS
A.4
B.6
C.7
D.Depends on the OS
答案:A