单选题:To serialize an object of some class, which one below is not nes
To serialize an object of some class, which one below is not nessasary? @[B](2)
A. That class should implement Serializable
B. That class should override writeObject()
C. writeObject() will be used to serialize that object
D. An object of ObjectOutputStream should be created
A.That class should implement Serializable
B.That class should override writeObject()
C.writeObject() will be used to serialize that object
D.An object of ObjectOutputStream should be created
答案:B
A. That class should implement Serializable
B. That class should override writeObject()
C. writeObject() will be used to serialize that object
D. An object of ObjectOutputStream should be created
A.That class should implement Serializable
B.That class should override writeObject()
C.writeObject() will be used to serialize that object
D.An object of ObjectOutputStream should be created
答案:B