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 |
How do you compare arrays in java?
Explain constructors and types of constructors in java.
What is the use of hashmap in java?
What are variable arguments or varargs?
Is 0 an even number?
If set accepts only one argument then how can it compare two objects to avoid duplicates
Compare overloading and overriding?
Difference between Primary key and unique key?
What is append in java?
What is r * in math?
How concurrent hashmap works?
What is OOP's Terms with explanation?