Home » JAVA Programming » Serialization » Question
  1. Which of the following methods is used to avoid serialization of new class whose super class already implements Serialization?
    1. unSerializaedObject()
    2. writeReadObject()
    3. readWriteObject()
    4. writeObject()
    5. None of these
Correct Option: D

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



Your comments will be displayed only after manual approval.