Content deleted Content added
needs rewrite |
No edit summary |
||
Line 7:
This article doesn't say much about what an object type is. It's trying to explain autoboxing, but not doing a very good job. I'd rather read the Sun article. Can anyone do a better job? --[[User:Ed Poor|Uncle Ed]] 21:42, 7 November 2006 (UTC)
Isn't it all about 'object types' living [[Garbage collection (computer science)|garbage collected]] on the [[dynamic memory allocation|heap]], and [[primitive type]]s, [[struct]]s living on the [[stack]]? (at least in c# and java). Boxing is creating a new object on heap out of a stack object so it can be manipulated with a reference - it is unsafe to get a reference to an object living on stack, because it could die too early and program could crash. [[User:Exe|exe]] 03:32, 13 May 2007 (UTC)
|