How to prevent a field from serialization ?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
To prevent a field from being serialized, we have to mark it
with the "transient" keyword
| Is This Answer Correct ? | 13 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
by declaring the varable transient
| Is This Answer Correct ? | 9 Yes | 0 No |
What are Brief Access Specifiers and Types of Access Specifiers?
What is volatile keyword in java
What are the differences between heap and stack memory in java?
What is qualitative variable?
What is an array in java?
What is 16 bits called?
What exactly is java?
How we can run a jar file through command prompt in java?
what is the reason behind non static method cannot be referenced from a static Context?
what us Dyna action form?
4 Answers Aithent Technologies,
what is mean by synchronization?
3 Answers BOB Technologies, GCPL,
Why arraylist is used in java?