SCJP Module-11 Question-6


 

SCJP Module-11 Question-6

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.

Answer:

(B) & (C)

Ads