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 is the abstraction?
Give differences between Quicksort & Mergesort. When should these sorts be used and what is their running time?
how to deploy apache tomcat server to weblogic server in java
What is the USE of Null interfaces ??...if thers nothing inside these interfaces how are they used and WHy are they used ???? No 1 has given a proper description yet
Does constructor return any value?
Which number is denoted by leading 0x or 0x in java?
i need income tax program using java inheritance concept. could u please help me?
How do you declare an infinite loop?
Is it possible to declare abstract class as final?What happens if we do so?
What is the use of conditional statement?
Why java is used everywhere?
Is ++ operator thread-safe in java?