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 |
How many bits are in a sentence?
Do you know why doesn't the java library use a randomized version of quicksort?
How can you generate random numbers in java?
what is synchronization? : Java thread
What is stack explain?
Why is a singleton bad?
Does variable declaration allocate memory?
Explain Linked HashSet
What state is a thread in when it is executing?
What is concurrent hashmap and its features?
How Array List can be Serialized.
What are thread priorities and importance of thread priorities in java?