Answer Posted / debapriya patra
When ever we don't want to serialize a variable , we specify
that variable as transient.So that its not be serialized.And
when we de serialize the value we get the default value of
that variable.
And only we mentioned the variables as transient.
Is This Answer Correct ? | 12 Yes | 5 No |
Post New Answer View All Answers
What is difference between Heap and Stack Memory?
What is the function of static in java?
Can you create an object of an abstract class?
What are reference variables in java?
What is a cup of java?
Is null a string or object in java?
What is final, finally, finalize?
What is meant by JVM? Is JVM platform independent or not?
List primitive java types?
When is the finalize() called?
Are arrays classes in java?
Why parsing is done?
Can there be an abstract method without an abstract class?
What are internal and external variables?
How does thread synchronization occurs inside a monitor?