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.writeChar('A');
output.close();
}
}```
a. 2 bytes.
b. 4 bytes.
c. 8 bytes.
d. none of the above.
a Two bytes of Unicode for 'A' is written
You might also like to view...
The function used to overload the ostream insertion operator is referred to as a(n) ____.
a. user-defined function b. static function c. friend function d. operator function
The ____ hides from the user the messy details of the underlying hardware.
A. interface B. operating system C. system software D. machine code
?A host that provides storage space for saving and retrieving records is called a _____.
A. ?spool server B. ?cast server C. ?proxy server D. ?file server
Many websites do not offer printable versions of webpages or articles.
Answer the following statement true (T) or false (F)