Article:
 |
 |
Boxing Conversion in J2SE 5.0
|
| Subject: |
Question about the Immutable Objects |
| Date: |
2005-03-26 05:42:28 |
| From: |
krishnasrinivasan |
|
Response to: Question about the Immutable Objects
|

|
|
You are correct.JVM can reduce the object creation by reusing some of the objects created earlier.Sun guys consider the values range -128 to 127 would be commonly used so they make it cached and reused. |