why to use transient variables when static variables can be
used for Serialization
Answer Posted / priyanjan
static variables can also serialized but is a very
cumbersome process. Transient keyword prefixing any
variable states that the varible does serialized but its
state i.e. value of the varible, does not serialize.
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
Explain public static void main(string args[]).
Write a program based on Java script program.
What is final class?
What is purpose of find feature?
How do you check if a number is a perfect square?
What happens when you add a double value to a string?
Under what conditions is an object’s finalize() method invoked by the garbage collector?
Which is the class in java?
Explain the importance of finally block in java?
Where can I find jdk in my computer?
What is jrmp?
Write an algorithm for quick sort?
Can we restart a thread already started in java?
What is a conditional statement explain with example?
What is <> used for in java?