why to use transient variables when static variables can be
used for Serialization
Answer Posted / yogesh
A transient variable is a variable that may not be serialized.
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What is meant by call by reference?
How do you create a bulleted list?
How do you remove all elements from an arraylist in java?
Is char a method in java?
How do you remove an object from an arraylist in java?
Why you should not use singleton?
Why to use nested classes in java?
What is the function of compareto in java?
Which of the following classes will have more memory allocated?
What is import java util arraylist?
Is constructor inherited?
What is the destroy method?
What is use of static in java?
What is byte data type?
Wha is the output from system.out.println(“hello”+null); ?