What is a transient variable?

What is a transient variable?

Hi,

What is a transient variable?

Thanks,

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,

Ads









Related Tutorials/Questions & Answers:
What is a transient variable?
What is JavaScript Variables ?
Advertisements
What are local variables?
What are instance variables?
What is Transient variable in Java
Variables
transient keyword - Java Beginners
Keyword- transient
transient Java Keyword
Transient and detached objects
Transient Java Keyword
Java Transient Variable
Static & Instance variables in java
Environment variables
o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum=
Variables in Java
Java - Declaring variables in for loops
java protected variables
Variables In Java
Java Substituting Variables
variables are **called instance variables because they are created** whenever an object of the class is instantiated.
Variables in Java
session variables server side
PHP related - how to explot a string with commas and store into two different variables?
how to initialise variables in jsp?
Why are my variables not dividing properly?
javascript where to declare variables
Kotlin Variables
Java Variables Help Please!
Java ClassPath
ModuleNotFoundError: No module named 'mdx-variables'

Ads