Examveda
Examveda

In Java Serialization, what is the purpose of the `transient` keyword when applied to an instance variable?

A. It indicates that the variable is mandatory for serialization

B. It indicates that the variable should not be serialized

C. It indicates that the variable should be ignored during deserialization

D. It indicates that the variable is mandatory for serialization

Answer: Option B


This Question Belongs to Java Program >> Java Serialization And Networking

Join The Discussion

Related Questions on Java Serialization and Networking

What is Java Serialization?

A. The process of converting an object into a byte stream

B. The process of converting a byte stream into an object

C. The process of converting an object into a text file

D. The process of converting a text file into an object