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
Do I really have to type in the programs in the book to try them out?
What is java ioc?
What is aop java?
How do I run a java program from the command line?
Explain issues of old java date api?
What is property file in java?
What is mdb in java?
What is setstring method in java?
What are the advantages of java sockets?
What is the content reside in Use case Document?
What is the difference between collection and stream?
What are the risks in java security? : java security
What is dto layer in java?
Is lambda expression an object?
I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance