07-17-2011, 03:56 PM
- Primitive data types are created on heap whereas references are created on stack
- Primitive data types are created on stack whereas references are created on heap
- Both primitive data types and references are created on stack
- Both primitive data types and references are created on heap