1.

Which of the following methods is used to avoid serialization of new class whose super class already implements Serialization?(a) writeObject()(b) readWriteObject()(c) writeReadObject()(d) unSerializaedObject()

Answer» Correct answer is (a) writeObject()

Explanation: writeObject() and readObject() methods should be implemented to avoid Java serialization.


Discussion

No Comment Found

Related InterviewSolutions