Answer Posted / 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 |
Post New Answer View All Answers
Is empty string in java?
Name some classes present in java.util.regex package.
Why can't you declare a class as protected?
how do I create a runnable with inheritance? : Java thread
Explain the JDB in depth & command line.
What is final int?
Explain about serializable interface in java?
What is the difference between and ?
What is the benefit of inner / nested classes ?
What are some characteristics of interference class?
Can we make the abstract methods static in java?
What is the preferred size of a component in java programming?
What does string mean in java?
What does the “static” keyword mean? Can you override private or static method in java?
What does a void function return?