J2SE Question:

Download Job Interview Questions and Answers PDF

What is transient?

J2SE Interview Question
J2SE Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What is type?What is wrapper?