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
Which is fastest collection in java?
What do you mean by platform independence of Java?
What is thread life cycle?
What is io stream in java?
Is arraylist dynamic in java?
How to sort numbers in java without array?
5 Coding best practices you learned in java?
What about instanceof operator in java?
What is the difference between integer parseint and integer valueof?
Can we sort list in java?
What is the static block?
What is getclass () getname () in java?
What is percentage in java?
What is the abstraction?
What is a local, member and a class variable?