Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners What is a transient variable?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Java Coder
What is a transient variable?
1 Answer(s)      a year and 6 months ago
Posted in : Java Beginners


Hi,

What is a transient variable?

Thanks,


Advertisement
View Answers

April 17, 2013 at 12:24 PM


Hi,

Any variable which is altered(modified) with transient keyword becomes transient variable in java. It will be beneficiary for beginner java developers to know about Serialization in before understanding to transient variable. The Serialization is a process in which the object's state is saved by JVM and during deserializaiton it?s recovered by JVM. During the process of Serialization all property of object gets saved except static and transient.

For more details about transient variable in Java visit below link:

http://www.roseindia.net/java/example/java/util/transient-variable.shtml

Thanks,



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com