adspace
Answer Posted / Savitri Devi
The transient keyword in Java is used to indicate that a field should not be saved or restored when an object's state is written to or read from a persistent storage such as a database. This can be useful for fields that don't need to be stored, like temporary calculations.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers