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 are the similarities between an array and an ArrayList?
why string is not taking as primitive datatypes but we r taking it as a class? why explain it?
if arraylist size is increased from initial size what is the size of arraylist...suppose initial is 100 , if i add 101 element what is the size...
What is final keyword in java? Give an example.
What is the root class for all Java classes?
What will happen if we cannot mention "finally" in Java Program ???
How do you add an element to an arraylist in java?
Explain access modifiers in java.
What is the covariant return type?
What is the use of arraylist class in java?
which class to use when concatenating strings in a loop.
How many types of string data types are there?