Memory management in JAVA

Answers were Sorted based on User's Feedback



Memory management in JAVA..

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

Memory management in JAVA..

Answer / jaseer v

Garbage collector

Is This Answer Correct ?    21 Yes 4 No

Memory management in JAVA..

Answer / guest

memory management can be maintained by JVM .It allocates space
in heap area

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More Core Java Interview Questions

Can you declare a private method as static?

0 Answers   TCS,


What is a java object and java application?

0 Answers  


What is a bubble sort in java?

0 Answers  


What is a parameter in a function?

0 Answers  


Can a final variable be manipulated in java?

0 Answers  


What are the differences between throw and throws?

0 Answers  


What is tochararray in java?

0 Answers  


Can you create an object of an abstract class?

0 Answers  


what is the difference between pagecontext and servletcontext?

5 Answers   JBA Infotech, TCS,


where final and static variable stored?

3 Answers  


How to instantiate static nested classes in java?

0 Answers  


What are the 5 types of research methods?

0 Answers  


Categories