Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

what is transient in java

transient is a variables modifier used in serialization. 
At the time of serialization, if we don't want to save value 
of a particular variable in a file, then we use transient keyword.
When JVM comes across transient keyword, it ignores original value
of the variable and save default value of that variable data type.
Comment

PREVIOUS NEXT
Code Example
Java :: Android: remove shadow from bottom navigation 
Java :: creating a menu in java 
Java :: java extends 
Java :: fixed length array powershell PSv5+ 
Java :: difference between class and interface 
Java :: Program to remove duplicates in an ArrayList 
Java :: rider find and replace 
Java :: java variable declaration 
Java :: arraylist index java 
Java :: Java printf() Method 
Java :: stringbuilder insert beginning 
Java :: java.util.HashMap has generic type parameters, please use GenericTypeIndicator instead 
Java :: enum values to string array 
Java :: zweidimensionales array ausgeben java 
Java :: read file from resources java 
Java :: Java Regex : 4 Letters followed by 2 Integers 
Java :: list java 
Java :: flutterwave BVN api 
Java :: For loop Java Example to Iterate an Array 
Java :: mockito method called 
Java :: on item click listener for recyclerview adapter 
Java :: java stream sort 
Java :: if checkbox checked java 
Java :: how to change toolbar name in android studio 
Java :: check if duplicate element in java 
Java :: Java How to use Queue? 
Java :: could not find java; set JAVA_HOME or ensure java is in PATH 
Java :: Create JDBC connection using properties file 
Java :: spring yml property boolean 
Java :: setimageuri crash 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =