Adapted from :
Java transient keyword is used in serialization. If any data member is defined as transient, it will not be serialized.
Variables may be marked
transient
to indicate that they are not part of the persistent state of an object.
Find a good example at : https://www.javatpoint.com/transient-keyword
No comments:
Post a Comment