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,









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

Ads