The Sample program given below will test your understanding about the Serializing a class in Java.
The Sample program given below will test your understanding about the Serializing a class in Java.To have serialization what necessary steps to be followed ? Choose correct options?
(A) Remove transient variable if any specified.
(B) Class must implements Serializable interface.
(C) Import of java.io.* is necessary.
(D) Must through IOException after
class declaration.
(B) & (C)