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
How do I run java on windows?
What are advantages of using Java?s layout managers than windowing systems?
Explain java coding standards for interfaces?
what is ststic with example
What is the difference between JDK and JVM?
What is double checked locking in singleton?
What is the default access specifier for variables and methods of a class?
Is nan false?
how would you implement a thread pool? : Java thread
What are synchronized methods ?
What is difference between class and object in java?
What is an eror in java?
Realized?
How to connect to a remote database using Applet?
What is the difference between an interface and an abstract class?