After the following program is finished, how many bytes are written to the file t.dat?

```
import java.io.*;

public class Test {
public static void main(String[] args) throws IOException {
DataOutputStream output = new DataOutputStream(
new FileOutputStream("t.dat"));
output.writeChars("ABCD");
output.close();
}
}```
a. 2 bytes.
b. 4 bytes.
c. 8 bytes.
d. 12 bytes.
e. 16 bytes.


c Two bytes of Unicode for each character is written to output.

Computer Science & Information Technology

You might also like to view...

Increasing the exposure to darken areas on a print is called ____.

a. scaling b. dodging c. sharpening d. burning

Computer Science & Information Technology

Which of the following terms do you define as the position of elements in a composition?

You are preparing a glossary for the students in your design class at the junior high school where you teach. You know that a lot of terms are used interchangeably or even incorrectly, and you want to make sure that your students understand the meaning of some of the most important terms in graphic design. a. layout b. typography c. balance d. graphic style

Computer Science & Information Technology

Trivial File Transfer Protocol (TFTP) uses a more memory when compared to FTP.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

List the three areas of network management.

What will be an ideal response?

Computer Science & Information Technology