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 rmi and steps involved in developing an rmi object?
Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
Explain about main() method in java ?
How do you reverse a word in java?
What is callablestatement? How you can call stored procedure to pass in parameter?
What is set string?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
What are reference variables in java?
Is java an open source?
What is a instance variable in java?
Is final static java?
What does localhost mean?