What will be the result of the following statements?

```
FileOutputStream fstream = new FileOutputStream("Output.dat");
DataOutputStream outputFile = new DataOutputStream(fstream);

```

a. The outputFile variable will reference an object that is able to write text data only to the Output.dat file.
b. The outputFile variable will reference an object that is able to write binary data to the Output.dat file.
c. The outputFile variable will reference an object that is able to read binary data from the Output.dat file.
d. The outputFile variable will reference an object that is able to write binary data to the Output.dat as a random access file.

b. The outputFile variable will reference an object that is able to write binary data to the Output.dat file.

Computer Science & Information Technology

You might also like to view...

You can place text in front of a picture by sending the picture to the ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

A ____ contains column headings or field names in a data source.

A. header row B. column header C. table header D. footer

Computer Science & Information Technology