If you want to append data to an existing binary file, BinaryFile.dat, which of the following statements would you use to open the file?

a. ```
FileOutputStream fstream =
new FileOutputStream("BinaryFile.dat");
DataOutputStream binaryOutputFile =
new DataOutputStream(fstream);
```
b. ```
FileOutputStream fstream =
new FileOutputStream("BinaryFile.dat", false);
DataOutputStream binaryOutputFile =
new DataOutputStream(fstream);
```
c. ```
FileOutputStream fstream =
new FileOutputStream("BinaryFile.dat", true);
DataOutputStream binaryOutputFile =
new DataOutputStream(fstream);
```
d. ```
IFileOutputStream fstream =
new FileOutputStream("BinaryFile.dat");
DataOutputStream binaryOutputFile =
new DataOutputStream(fstream, true);
```


c. ```
FileOutputStream fstream =
new FileOutputStream("BinaryFile.dat", true);
DataOutputStream binaryOutputFile =
new DataOutputStream(fstream);
```

Computer Science & Information Technology

You might also like to view...

____ can be assigned to email messages, enabling you to quickly identify them and associate them with related tasks.

A. Color categories B. Bar codes C. Shortcuts D. Groups

Computer Science & Information Technology

In the accompanying figure of a Microsoft PowerPoint 2016 presentation, box _____ is pointing to the Increase Font Size button.? ?

A. ?D B. ?A C. ?B D. ?C

Computer Science & Information Technology

________ is a high-level language that can be used to write and modify macros

A) VBE B) VBA C) C# D) C++

Computer Science & Information Technology

All event procedures in a class module are a(n) ____ procedures which means they may only be used for the form or report for which the class module was created.

A. public B. local C. Case D. Sub

Computer Science & Information Technology