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 is append in java?
What is the difference between Access Modifier and Access specifier?
What is the difference between form & report?
What is lazy activation?
What is cloneable interface?
What does g mean in regex?
What is difference between filereader and bufferedreader?
What is the constructor?
how to accept integer array in java
What is static variable with example?
What is the entry point in Java, and how is it written?
What is the difference between error and exception and explain in simple words not whatever is given in the book.