Code Pumpkin

Tag Archives: serialization

Serialization and Singleton Design Pattern

January 13, 2018
Posted by Abhi Andhariya

This is our forth article in the series of Singleton Design Pattern Articles. The purpose of the singleton class is to control object creation, limiting the number of objects to only one.  In our previous three articles, we have discussed how we can create Singleton Design Pattern in Single-threaded and multithreaded environment. We have also discussed how […]

Transient Keyword In Java

May 13, 2017
Posted by Dipen Adroja

The transient keyword in java is used on class attributes to indicate that serialization process of such class should ignore such attributes for any instance of that class. When JVM comes across transient keyword, it ignores original value of the variable and save default value of that variable data type. transient keyword plays an important […]

Total Posts : 96
Contribute Your Articles

Subscribe Us

Like Us On Facebook