🎴 Flashcard Mode

Java Keywords

Card1 / 11
Mastered0
Review0
QuestionClick to flip

Which Java keyword should be used with a data member to make it non-serializable?

AnswerClick to flip back
A
transient
💡 Explanation:

This is the correct answer. If a data member is made transient, it will not be serialized.

Change Mode