Memory management in JAVA

Answers were Sorted based on User's Feedback



Memory management in JAVA..

Answer / srikanth

garbage collector ie gc is responsible for Memory
management in JAVA

whenever heap memory is full jvm makes list of objeects
which is unrefered and it calls finalize()method on that
method to cleanup resourse which is hold by it and finaaly
gc()method is invoked finally to relese the resource

Is This Answer Correct ?    29 Yes 1 No

Memory management in JAVA..

Answer / jaseer v

Garbage collector

Is This Answer Correct ?    21 Yes 4 No

Memory management in JAVA..

Answer / guest

memory management can be maintained by JVM .It allocates space
in heap area

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More Core Java Interview Questions

How can we find size of the object ?

5 Answers   CTS, RazorSight,


Explain tree set and its features?

0 Answers  


Why volatile is used in java?

0 Answers  


Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Explain with your own example..?

8 Answers   Nokia,


Explain about transient variables in java?

0 Answers  


What is the default size of arraylist in java?

0 Answers  


What is a parameter in a function?

0 Answers  


If system.exit (0); is written at the end of the try block, will the finally block still execute?

0 Answers  


What are the advantages of java?

0 Answers  


What are functions in java?

0 Answers  


Why we can not force Garbage Collection?

7 Answers  


how session will be expired ?

4 Answers   Satyam,


Categories