What part of memory - Stack or Heap - is cleaned in the garbage collection process?
Answer Posted / 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 |
Post New Answer View All Answers
How to find the given number is a prime number or not by getting input from the user
What is the difference between static and global variables and also define what are volatile variables?
When parseint method can be used?
what are the states associated in the thread? : Java thread
How to change the priority of thread or how to set priority of thread?
What is method overloading with type promotion?
What is field name?
What is a concrete classes? Is Java object class is concrete class?
Which is a valid identifier?
Describe method overriding
How do you sort a string in java?
Is oracle charging for java?
what are Hostile Applets?
What differences exist between iterator and listiterator?
What is the difference between replace and replace all?