Answer:
A Writer stream translates the characters in a String into
UTF character format, which can accommodate many alphabets.
End of the Chapter
For most Western characters, UTF format is identical to ASCII.
Use DataOutputStream.writeBytes() for
character output to files that have mixed data types.
If a file contains only characters (a text file) use the
Writer methods.
You have reached the end this chapter. You may wish to review the following.
- Binary files.
- The OutputStream class.
- Example program using writeInt().
- Hexadecimal dumps.
- The BufferedOutputStream class.
- Example program using writeDouble().
- Constructors for FileOutputStream.
- Methods and constructors of DataOutputStream.
- High bytes and low bytes.
- The size() method.