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 to print the below in java? * * * * * * * * *

2 Answers  


What is the difference between abstract class and interface?

3 Answers   Aspire,


Why does java not support operator overloading?

0 Answers  


What is struts in java?

0 Answers  


Can anonymous class have constructor?

0 Answers  


what is difference between front controller and action servlet?

2 Answers  


how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?

2 Answers  


What is hash code collision?

0 Answers  


what is the volatile modifier for? : Java thread

0 Answers  


How many types of assembly languages are there?

0 Answers  


What is run-time class and system class? what is their purpose?

1 Answers  


What is abstraction with strong example program? (not a general program)

3 Answers  


Categories