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 |
Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.
Explain cookies?
Why java strings are immutable in nature?
What lambda means?
What is the difference between actual and formal parameters?
Why heap memory is called heap?
What are the differences between getting and load method?
How to perform binary search in java?
What is the purpose of an interface?
What is indexof in java?
What is the default execution method in java?
Can i have abstract class with no abstract methods?