An immutable data type is one that can not change after being created. Give three reasons to use immutable data.

(1) It saves memory space as in immutable types variable names are stored as reference to value object.
(2) It is very useful to use as constant which remains same through out the program
(3) Immutable data are quicker to access then mutable data.

error: Content is protected !!