Serialization


  1. If member does not implement serialization, which exception would be thrown?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    If member of a class does not implement serialization, NotSerializationException will be thrown.


  1. Default Serialization process cannot be overridden.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: E

    Default serialization process can be overridden.



  1. Which of the following methods is used to avoid serialization of new class whose super class already implements Serialization?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

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


  1. Which of the following methods is not used while Serialization and DeSerialization?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Using readObject(), writeObject(), readExternal() and writeExternal() methods Serialization and DeSerialization are implemented.



  1. Serializaed object can be transferred via network.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: E

    Serialized object can be transferred via network because Java serialized object remains in form of bytes which can be transmitted over network.