what is a transient variable?

Answers were Sorted based on User's Feedback



what is a transient variable?..

Answer / ravikiran

Transient variable is the one which cann't be serialized

Is This Answer Correct ?    19 Yes 3 No

what is a transient variable?..

Answer / firoz mahmud

A transient variable is a variable that may not
be serialized.

Is This Answer Correct ?    12 Yes 0 No

what is a transient variable?..

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

what is a transient variable?..

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

what is a transient variable?..

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

Post New Answer

More Core Java Interview Questions

How do you override a method in java?

0 Answers  


what is a thread?

13 Answers   IBM, SunGard,


How do you download stubs from Remote place?

0 Answers  


Is void a data type?

0 Answers  


Can we have a try block without catch block?

0 Answers  






How to restrict a member of a class from inheriting by its sub classes?

0 Answers  


WHAT IS THE SCOPE FOR COREJAVA...? IS JAVA ONLY CORE JAVA ?

2 Answers  


Can we override constructors?

0 Answers  


Can java run on google chrome?

0 Answers  


What are the common uses of "this" keyword in java ?

0 Answers  


Can a final variable be null?

0 Answers  


Can we synchronize static methods in java?

0 Answers  


Categories