Answer Posted / p.a.v.k.prasad
Transient variable is an variable, that can't be stored in permanent(hard disk)
Ex:-
int a=10; // it is permenently stored in hard disk
transient String password; //it is not persisted
if u create a Student class and it contains Sno,SName,Marks;
u don't want to serilize the marks. then use Transient to that field.
In real time transient varibles are used banking application
because never stored account holder passwords.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is flatmap in rxjs?
What is java lang exceptionininitializererror?
What do you understand by downcasting?
What is use of jpa?
What is orm in java?
What is entitymanager in java?
What is aop in java?
How do I install eclipse?
What is crud operations in java?
Is java an api?
What is web xml java?
What is the use of entity class in java?
What is type inference? Is type inference available in older versions like java 7 and before 7 or it is available only in java se 8?
Does ms edge support java?
What does el mean in java?