what is a transient variable?
Answers were Sorted based on User's Feedback
Answer / ravikiran
Transient variable is the one which cann't be serialized
| Is This Answer Correct ? | 19 Yes | 3 No |
Answer / firoz mahmud
A transient variable is a variable that may not
be serialized.
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / b.k.senthil kumar
It is java keyword. it comes under seralizable concept .if
we declare one vaiable as transient it can not be
seralizabled
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / 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 |
Answer / jack
A variable transfer one network to other nerwork,sometime
that varaible lost,at this time put transient before a
varaible
| Is This Answer Correct ? | 3 Yes | 0 No |
what is difference between global methods and local methods?
write a code, we have two thread, one is printing even no and other print the odd no.
Explain the difference between abstract classes and interfaces in java?
How can a class be accessed, If no access modifiers are declared?
What is bigger kb or mb?
What is the purpose of default constructor?
How can we create a synchronized collection from given collection?
Mention the default values of all the elements of an array defined as an instance variable.
which method is used to know the status of the Thread?
How do you check if two strings are equal in java?
Tell me the Importent classes in net package?
Why does it take so much time to access an applet having swing components the first time?