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 type of statement in jdbc connection?
Will the jvm load the package twice at runtime?
class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }
what are the methods in object?
What does string [] args mean?
What are the differences between processes and threads?
What happens if an exception is throws from an object's destructor?
Is linkedlist thread safe in java?
what is meant by string pooling?
12 Answers Oracle, Polaris, Tribal Fusion, Wipro,
Explain features of interfaces in java?
How do you compare two strings? any predefined method for this?
what are the differences between final,finally,finalize methods?