Content deleted Content added
mNo edit summary |
Suggest remove java discussion unrelated to the topic. |
||
Line 10:
Isn't it all about 'object types' living [[Garbage collection (computer science)|garbage collectably]] 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)
I think that the part about unboxing mostly speaks about what code constructs different versions of the java compiler/language accepts, and not about the language neutral concept of boxing/unboxing. I think that part should be removed, or at least some of it. (Sorry, no wikipedia account. LarsR) 10:10, 8 Aug 2007 (CET)
|