adplus-dvertising
frame-decoration

Question

For a class to be serialized successfully:

a.

The class must implement the java.io.Serializable interface.

b.

Every field in the class must be volatile.

c.

All of the mentioned

d.

None of the mentioned

Answer: (a).The class must implement the java.io.Serializable interface.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. For a class to be serialized successfully: