Question

What is the primary benefit of storing data in binary files? List the two classes to...

What is the primary benefit of storing data in binary files? List the two classes to read from a binary file as well as the two classes to write to a binary file. Java

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Files that are designed to be read by programs and that consists of a sequence of binary digits are called binary files

Binary files are designed to be read on the same type of computer and with the same programming laguage as the computer thet created the file.

Advantage of binary file is that they are more efficient to process than text files.

Unlike most binary files ,Java binary files have the advantage of being platform independent also.

  • ObjectInputStream and BufferedInputStream are  stream classes they can be used to read from a binary file.
  • ObjectOutputStream and BufferedOutputStream are stream classes they can be used to write to a binary file.
Add a comment
Know the answer?
Add Answer to:
What is the primary benefit of storing data in binary files? List the two classes to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT