
07-15-2007, 08:03 PM
|
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
|
References do exist, all object type vars are references. So y and x in your example would point to same object. And I really have no idea about garbage collection except that Stefan said he thought it was rather nice. For copying objects you would use new ObjectReference(); with a name being optional. |
|
|
|