View Full Version : Unset a variable?
09-26-2008, 03:14 PM
Hey, is it possible to unset a variable in Java like it is in PHP? I assume it is possible to free up memory...
No. That's not the purpose of it in PHP, either, in most cases. Both languages are garbage-collected: once all references to an object go out of scope, the object is marked as trash, and can be garbage-collected at the runtime's next convenience.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.