Which of the following statements are true?
a. ObjectInputStream/ObjectOutputStream enables you to perform I/O for objects in addition for primitive type values and strings.
b. Since ObjectInputStream/ObjectOutputStream contains all the functions of DataInputStream/DataOutputStream, you can replace DataInputStream/DataOutputStream completely by ObjectInputStream/ObjectOutputStream.
c. To write an object, the object must be serializable.
d. The Serializable interface does not contain any methods. So it is a mark interface.
e. If all the elements in an array is serializable, the array is serializable too.
a. ObjectInputStream/ObjectOutputStream enables you to perform I/O for objects in addition for primitive type values and strings.
b. Since ObjectInputStream/ObjectOutputStream contains all the functions of DataInputStream/DataOutputStream, you can replace DataInputStream/DataOutputStream completely by ObjectInputStream/ObjectOutputStream.
c. To write an object, the object must be serializable.
d. The Serializable interface does not contain any methods. So it is a mark interface.
e. If all the elements in an array is serializable, the array is serializable too.
You might also like to view...
To use the Presenter View, Windows must be configured to support _______.
A. one monitor and projector B. two monitors C. one monitor only D. none of the above
A(n) ______________ should be used to declare the size of an array, because it eliminates magic numbers.
Fill in the blank(s) with the appropriate word(s).