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?
Printable View
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?
No. Java has automatic garbage collection, and it happens periodically.