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 |
What are operators and its types?
What are the procedures?
What is autoboxing in java?
Can static methods access instance variables in java?
What is the purpose of a parameter?
What are the 2 types of java programs?
What is difference between core java and java ee?
How do you convert boolean to boolean?
Urgent requirement of JAVA/.NET/QA in a CMMI level3 MNC for Pune location.
What is run time allocation?
what is the volatile modifier for? : Java thread
Why ArrayList class is not a synchronized class and why it is not a thread safe class? explain