
Miscellaneous Topics • 701
5. Serializability of a class is enabled by the class
implementing the
( a) java.io.Serializable interface
( b) java.util.Serializable interface
( c) java.awt.Serializable interface
( d) None of the above
6. Which method used to write an object to the un-
derlying storage or stream. The class that imple-
ments this interface how the object is written
( a) void write (int b)
( b) void write (int a, int b)
( c) void writeObject (Object obj)
( d) public void writeObject (Object obj)
7. Which of the following is used to extend the DataIn-
put interface to include the reading ...