603). How an object can become serializable?

[A]If a class implements java.io.Serializable class
[B]If a class or any superclass implements java.io.Serializable interface
[C]Any object is serializable
[D]No object is serializable

Show Answer

604). What is serialization?

[A]Turning object in memory into stream of bytes
[B]Turning stream of bytes into an object in memory
[C]Turning object in memory into stream of bits
[D]Turning stream of bits into an object in memory

Show Answer

605). What is deserialization?

[A]Turning object in memory into stream of bytes
[B]Turning stream of bytes into an object in memory
[C]Turning object in memory into stream of bits
[D]Turning stream of bits into an object in memory

Show Answer

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

[A]RuntimeException
[B]SerializableException
[C]NotSerializableException
[D]UnSerializedException

Show Answer

610). 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()

Show Answer

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

[A]readObject()
[B]readExternal()
[C]readWriteObject()
[D]writeObject()

Show Answer

612). Serializaed object can be transferred via network.

[A]True
[B]False
[C]none
[D]none

Show Answer