Transient Variable in Java || Java interview Questions(2021)

preview_player
Показать описание
Transient Variable in Java
Java interview Questions(2021)

At the time of serialization if we don’t want to save the value of a particular variable to meet security constraint then we should declare that variable as transient.At the time of serialization JVM ignores original value of transient variable and saves default value to the file. Hence transient means not to serialize.

#java
#javainterviewquestion
#transientvariablejava If you want to help us for enlarging our channel, then please donate us by your own wish:
Paytm: 7509058785
Рекомендации по теме
Комментарии
Автор

Great explanation. Very easy to understand. Thanks.

bonillaleal
visit shbcf.ru