Share on Google+Share on Google+

SCJP Module-11 Question-6

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* is necessary.
(D) Must through IOException after class declaration.


(B) & (C)


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

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.