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
What is the major drawback of internal iteration over external iteration?
Can we cast any other type to boolean type with type casting?
What is final method in java?
State two differences between C and Java.
whatis Home interface and Remoteinterface? with example?
What are different exception types exceptions available in java ?
What is the set interface in java programming?
What does \ mean in regex?
What is equals method in java?
Can size_t be negative?
What is the transient keyword?
What is the main advantage of passing argument by reference?
What is style and indentation?
What are the benefits of operations in java?
How many types of exception can occur in a java program?