Home » Interview » Technology

Which key word is to be used to tell the JVM to skip the variable while performing the serialization process of the object containing it?

Correct Answer: Transcient

Explanation:

If you mark an instance variable as transient, you're telling the JVM to skip (ignore) this variable when you attempt to serialize the object containing it.


← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion