Ask Question
14 July, 06:27

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. 14 July, 10:02
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers