Which of the following classes enable input and output of entire objects to or from a file?

A. SerializedInputStream
B. SerializedOutputStream
C. ObjectInputStream
D. ObjectOutputStream
E. Scanner
F. Formatter

a. A and B.
b. C and D.
c. C, D, E, F.
d. E and F.


b. C and D.

Computer Science & Information Technology

You might also like to view...

To add on to the end of an object, such as to add records to the end of an existing table, is to

a. run b. append c. import

Computer Science & Information Technology

What is the value of GRID(3, 1) after the instructions corresponding to the following pseudocode are executed?

``` R = 1 DOWHILE R < 5 C = 2 DOWHILE C < 5 GRID(R, C) = R + C C = C + 1 ENDDO R = R + 2 ENDDO ``` a) 4 b) 5 c) 6 d) undefined

Computer Science & Information Technology

In thermal wax transfer printers, the thermal ______________ passes over the film ribbon and melts the wax onto the paper.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Consider the Java segment:

String line1 = new String("c = 1 + 2 + 3") ; StringTokenizer tok = new StringTokenizer(line1, "+="); String foo = tok.nextToken(); String bar = tok.nextToken(); The values of foo and bar are: a. foo is “c ”, bar is “ = ”. b. foo is “c”, bar is “ ”. c. foo is “ = ”, bar is “ + ”. d. foo is “c ”, bar is “ 1 ”.

Computer Science & Information Technology