What part of memory - Stack or Heap - is cleaned in the garbage collection process?
Answer / nashiinformaticssolutions
On Heap memory, garbage collection is employed to release the memory used by objects with no references. Every object created in the Heap space has access to the entire application and may be referred to from anywhere.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is empty list in java?
What is a stringbuilder?
What is string substring?
What is the purpose of the finalize() method?
Is 0 true or is 1 true?
What environment variables are required to be set on a machine in order to run Java programs?
How java is platform independent?
41 Answers College School Exams Tests, Infosys, TCS,
Does anyone still use java?
Differentiate between the constructors and methods in java?
What is meant by attribute?
What is public static?
Which all r Final classes in java except string?