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 the exact difference in between Unicast and Multicast object? Where will it be used?
What do you understand by the term string pool?
What are different data structures in java?
Can we rethrow the same exception from catch handler?
What is the access scope of a protected method?
What is public/private protected in java?
Is 64bit faster than 32 bit?
What are basic data types?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Why are the methods of the math class static?
Define array. Tell me about 2-D array.
Does printwriter create a file?
What are access specifiers in java ?
Where is core java used?
What are the features of junit?