Multiple Choice
If you write a simple Student class, what must you do in order to write Student objects to an ObjectOutputStream?
A) Make all class variables primitive.
B) Implement Streamable.
C) Code a write method.
D) Implement Serializable.
Correct Answer:

Verified
Correct Answer:
Verified
Q55: You would need a Caesar cipher with
Q56: Which statement about object streams is NOT
Q57: Readers and writers access sequences of _.<br>A)bytes<br>B)files<br>C)streams<br>D)characters
Q58: Fill in the blank in the following
Q59: Which method moves the file pointer in
Q61: Fill in the blank in the following
Q62: Assume we have a RandomAccessFile object, file,
Q63: Which expression deletes the file named filename.txt?<br>A)Files.delete(Paths.get("filename.txt"))<br>B)Files.deleteFile(Paths.get("filename.txt"))<br>C)Files.deleteFile("filename.txt")<br>D)Files.delete("filename.txt")
Q64: Which methods are not in the Serializable
Q65: A Caesar cipher uses a shift of