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
Q75: Which of the following is NOT a
Q76: The two IO classes used for serialization
Q77: Objects saved to an object stream must
Q78: Which expression returns a String representing the
Q79: Which methods are not in the Serializable
Q81: Fill in the blank in the following
Q82: Which expression determines whether there is a
Q83: Which of the following is NOT a
Q84: Fill in the blank in the following
Q85: Which statement reads the configuration file named
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents