Why transient variables wont participate in serialization?
Answer Posted / shrinu nallavelli
transient means not to serialize.. whenever we declare a
variable as trancient it won't send the original value ,only
sends the default value..
purpose of this is to meet the security constraints...
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is nullpointerexception?
Why use string handling in Java?
Can you write a java class that could be used both as an applet as well as an application?
What is runtime polymorphism or dynamic method dispatch?
Explain the scope or life time of class variables or static variables?
What is compareto () in java?
What is structure of java heap? What is perm gen space in heap?
What happens if a constructor is declared private?
What is regex in java?
Is java free for commercial?
What is the association?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What programs use java?
How do you use nextline in java?
What is the epoch date?