Why can JAVA have the garbage collection function? But other program like c and c++ can't. I think it maybe about point(c and c++) and reference(JAVA), but I can't understand their relation clearly. Have somebady can help me to understand , thank you !!
Welcome to JavaRanch! Please change your display name to comply with the JavaRanch Naming Policy. Actually C and C++ can be garbage collected. Garbage collection isn't optional in Java simply because James Gosling wanted it that way. It's not something particular to the language.
Joined: Sep 30, 2003
Thank you a lot ^^ . I already see that URL and chang my display name ...
yusure, Welcome to JavaRanch! We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy. Note that single word names aren't allowed, nor are obviously fictitious ones. Thanks Pardner! Hope to see you 'round the Ranch!