Immutability in Java

Immutable Objects : Some Insights and implementation

Pankaj Kumar

--

Objects and Need for Immutability

Photo by Thomas Habr on Unsplash

An Object is immutable if you can not change state of an object once its created.

An object has 3 property:

Identity
State
Behavior.

--

--

Pankaj Kumar

MS Data Science SMU TX. Pursuing MSc Financial Engg. At WQU.Interest in Algos, Discovering Trends fm data. Methodical, conven/non-conven. Investigation of data.