Answer the question
In order to leave comments, you need to log in
Does the Garbage Collector release the memory used in a static method after it is used?
For example, if variables and arrays are created in a static method for any purpose, will the Garbage Collector release the memory allocated for these variables and arrays after using this method?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question