Why Wrapper Class does not have pool Similar to Stringpool?
Integer, Character, Double all these are immutable class like String. String has Stringpool to save memory But why they dont have similar pool? I have checked Integer is having a similar pool only upto 127 value but not more than that.
Aucun commentaire:
Enregistrer un commentaire