Answer to Question #63120 in Java | JSP | JSF for jonney

Question #63120
what is meant by giving a variable within a class variable a transient attribute?
1
Expert's answer
2016-11-05T16:07:08-0400
The transient keyword in Java is used to indicate that a field should not be serialized. Usually in such fields stored intermediate state of the object, which, for example, it is easier to calculate than the serialize and then deserialize. Another example of such a field - a reference to an instance of an object that does not require serialization or can not be serialized.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS