|
-
Oct 18th, 2005, 05:50 PM
#1
Thread Starter
Fanatic Member
Class constructors and deconstructors
I always have a constructor in my classes where i initialise variables, etc...
Do i need a class deconstructor to clear and destroy these variables?
Last edited by x-ice; Feb 25th, 2007 at 07:15 PM.
-
Oct 19th, 2005, 05:18 AM
#2
Frenzied Member
Re: Class constructors and deconstructors
No. Java has automatic garbage collection, and it happens periodically.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|