J2SE Question: Download J2SE PDF

What is transient?

Tweet Share WhatsApp

Answer:

A keyword in the Java programming language that indicates that a field is not part of the serialized form of an object. When an object is serialized, the values of its transient fields are not included in the serial representation, while the values of its non-transient fields are included.

Download J2SE PDF Read All 214 J2SE Questions
Previous QuestionNext Question
What is type?What is wrapper?