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.
You might also like to view...
Case-Based Critical Thinking QuestionsCase 19-1Leon made a presentation about netiquette. His presentation was followed by a very useful discussion. Answer the following questions that the audience asked him. Which of the following is among the most important rules of netiquette?
A. Distinguish between business and personal B. Proofread messages before you send them C. Respond promptly D. All of the above
Describe the case statement.
What will be an ideal response?
In C++, the default precision is set to ____ decimal places.
a. five b. six c. seven d. eight
What is true of a native-boot VHD?
a. It can't run operating systems older than Windows 7. b. It requires Virtual PC to operate. c. A machine can be booted physically from the virtual hard disk file. d. It runs on only one computer.