Memory management in JAVA
Answers were Sorted based on User's Feedback
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 |
Answer / guest
memory management can be maintained by JVM .It allocates space
in heap area
Is This Answer Correct ? | 6 Yes | 1 No |
how to print the below in java? * * * * * * * * *
What is the difference between abstract class and interface?
Why does java not support operator overloading?
What is struts in java?
Can anonymous class have constructor?
what is difference between front controller and action servlet?
how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
What is hash code collision?
what is the volatile modifier for? : Java thread
How many types of assembly languages are there?
What is run-time class and system class? what is their purpose?
What is abstraction with strong example program? (not a general program)