Which three statements concerning the use of the java.io.Serializable interface are true?

Which three statements concerning the use of the java.io.Serializable interface are true? (Choose
three.)

Which three statements concerning the use of the java.io.Serializable interface are true? (Choose
three.)

A.
Objects from classes that use aggregation cannot be serialized.

B.
The values in fields with the transient modifier will NOT survive serialization and deserialization.

C.
It is legal to serialize an object of a type that has a supertype that does NOT implement
java.io.Serializable.

D.
The values in fields with the volatile modifier will NOT survive serialization and deserialization.

E.
An object serialized on one JVM can be successfully deserialized on a different JVM.



Leave a Reply 0

Your email address will not be published. Required fields are marked *