Ask Question

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

+1
Answers (1)
  1. 15 November, 09:01
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers