What do you mean by the term transient?
Answers were Sorted based on User's Feedback
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 |
Answer / guest
transient is a variable that may not be serialized.
| Is This Answer Correct ? | 12 Yes | 2 No |
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 |
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 |
Answer / sayantan biswas
Transient are those things which are not stored in
database...
| Is This Answer Correct ? | 4 Yes | 17 No |
What is the symbol for average?
What is final keyword in java?
How do you implement tree mirroring in java?
Can we declare main () method as non static?
Explain about complier design(phases)
0 Answers Aditi Placement Service,
how can you take care of mutual exclusion using java threads? : Java thread
how to crate clint-server socket?
1 Answers Accenture, Infosys, Infotech, TCS,
What is the exact difference in between Unicast and Multicast object ?
What is a subsequence of a string?
explain System.out.println
107 Answers Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
what is the constructor and how many types of constructors are used in java?