For centuries, mankind knew all there was to know about the shape of the Earth. It was a flat planet, shaped roughly like a circle, with lots of pointy things hanging down from the underside. On the comparatively smooth topside, Europe sat in the middle of the circle, with the other continents scattered about the fringes, and parts of Africa hanging over the edge.
Immutability. Immutability means unchangeable. It is the divine attribute of unchangeableness. God said in Exodus 3:14, I AM that I AM, signifying His eternal sameness and His sovereignty.He cannot change His moral character, His love, His omniscience, omnipresence, omnipotence, etc.t is the divine attribute of unchangeableness. God said in Exodus 3:14, I AM that I AM, signifying His eternal sameness and His sovereignty. He cannot change His moral character, His love, His omniscience, omnipresence, omnipotence, etc.
Boolean or any other wrapper class is immutable in java. Since wrapper classes are used as variables for storing simple data, those should be safe and data integrity must be maintained to avoid inconsistent or unwanted results. Also, immutability saves lots of memory by avoiding duplicate objects. More can be found in article Why Strings & Wrapper classes are designed immutable in java?