Transient keyword indicates that the value of this member variable does not have to be serialized with the object. When the class will be de-serialized, this variable will be initialized with a default value of its data type (i.e. zero forr integers).
Liked By
Write Answer
what is the use of transient keyword in java?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
10-Sep-2015