When writing a string to a binary file or reading a string from a binary file, it is recommended that you use __________.

a. methods that use UTF-8 encoding
b. the FileReader and Writer class methods
c. the Scanner class methods
d. the System.In and System.out methods


a. methods that use UTF-8 encoding

Computer Science & Information Technology

You might also like to view...

Which of the following lines would be the prototype for an overloaded cast operator function that converts an object of user-defined type Time into a double?

a. Time::operator double() const; b. Time::static_cast double() const; c. Time::operator_cast(double) const; d. Time::double() const;

Computer Science & Information Technology

What kind of application tests a class by creating an object of that class and calling the class’s methods?

a. Pseudo application. b. Debugger. c. Declarator. d. Test harness.

Computer Science & Information Technology

Which layer includes the physical transmission medium (cables or wireless media) that any network must use to send and receive the signals that constitute the physical expression of networked communications?

A. Data Link B. Physical C. Network D. Transport

Computer Science & Information Technology

The slicer ________ is text that displays in the header at the top of the slicer window to identify the data in the field.

A. title B. name C. caption D. label

Computer Science & Information Technology