SCJP Module-11 Question-6

The Sample program given below will test your understanding about the Serializing a class in Java.

 
 

Share on Google+Share on Google+

SCJP Module-11 Question-6

Ads

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)

Advertisements

Posted on: July 20, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles