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);
```
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
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
________ is a high-level language that can be used to write and modify macros
A) VBE B) VBA C) C# D) C++
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