What part of memory - Stack or Heap - is cleaned in the garbage collection process?



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

Post New Answer

More Core Java Interview Questions

What do you mean by platform independence of Java?

0 Answers  


Thanks A.jyotsna, Can u tell me differnce between abstract class and interface vikash

4 Answers  


Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?

2 Answers   ADP,


What is bufferedreader in java?

0 Answers  


What is port number in java?

0 Answers  


What is sleep method?

0 Answers  


Explain notifyall() method of object class ?

0 Answers  


What is the default initialized value of String type variable?

4 Answers  


What is the significance of java packages?

0 Answers  


What is run time allocation?

0 Answers   Fidelity,


What is the use of flag?

0 Answers  


How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?

1 Answers  


Categories