What do you mean by the term transient?

Answers were Sorted based on User's Feedback



What do you mean by the term transient?..

Answer / jesudian moses

Transient is a keyword used for class level variables.
Serialisation of that variable can be avoided by declaring
it transient.

Is This Answer Correct ?    24 Yes 1 No

What do you mean by the term transient?..

Answer / guest

transient is a variable that may not be serialized.

Is This Answer Correct ?    12 Yes 2 No

What do you mean by the term transient?..

Answer / paletipatisrinu

transient is the modifer for varibles.if declared variable
with transient its never pariticaptes variable in
serialization process.
most of this case used for banking application for passwords
ex:transient long password;

Is This Answer Correct ?    9 Yes 1 No

What do you mean by the term transient?..

Answer / navinice

by default all objects of classes are serialized.
there are some premitive datatypes in objects which needs
not to persistence. Then These variables are declared as
transient variable by Using Transient keyword.

for example........
class abc{
private String firstName;
private transient String middleName;
private String lastName;

method()

}

Njoy >>>>>>>>>>NaviNice<<<<<<<<<

Is This Answer Correct ?    2 Yes 1 No

What do you mean by the term transient?..

Answer / sayantan biswas

Transient are those things which are not stored in
database...

Is This Answer Correct ?    4 Yes 17 No

Post New Answer

More Core Java Interview Questions

what is for datainputstream?

1 Answers  


What is the difference between interface & abstract class?

0 Answers  


what is generics in jdk1.5?

2 Answers   Bally Technologies,


Give an example of use of pointers in java class.

0 Answers  


Which browsers work with java?

0 Answers  






When is the finalize() called? What is the purpose of finalization?

0 Answers  


What about interthread communication and how it takes place in java?

0 Answers  


What are wrapped classes?

7 Answers   Samsung,


What is the difference between Array and Hash Table?

0 Answers   Impetus,


what is Assertion?

4 Answers   Wipro,


Hi buddy, well i got that there is always a default constructor with abstract class. OK. But why not with interface? Thanks in advance.

2 Answers  


In which language JVM (Java Virtual Machine) is implemented

5 Answers  


Categories