I understand the reason behind String class being immutable. Would like to know for what reasons the other wrapper classes like Integer,FLOAT,LONG are made immutable?
Type: Posts; User: tcstcs
I understand the reason behind String class being immutable. Would like to know for what reasons the other wrapper classes like Integer,FLOAT,LONG are made immutable?