Ask Question
9 April, 18:08

To write data to a binary file you create objects from the following classes:

a.)

File and Scanner

b.)

BinaryFileWriter and BinaryDataWriter

c.)

FileOutputStream and DataOutputStream

d.)

File and PrintWriter

+5
Answers (1)
  1. 9 April, 19:33
    0
    Answer: (C) File Output Stream and Data Output Stream

    Explanation:

    The File output stream and data output stream classes are basically created to write the data into the binary file. The data output steam class is the output steam used to write various data types in the java in the efficient way.

    The file output steam class is basically used to create the text file and store the various type of the data into individual bytes.

    The file in the file output steam class basically represent the storage of the various type of the data in the binary file.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “To write data to a binary file you create objects from the following classes: a.) File and Scanner b.) BinaryFileWriter and ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers