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 are the main features of java?
what is a thread pool in java and why is it used?
Explain the private protected method modifier?
What is a ternary operator in java? What is an interface?
How do you override a method in java?
What are the characteristics of java?
What is the base class of all classes?
What is dynamic dispatch in java?
java can provide security ,how can provide?
8 Answers Aspire, BNP Paribas, Genpact, IBM,
Differentiate between stringbuffer and string?
What is linked hashmap and its features?
What is thread safe in java?