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 |
Can you declare a private method as static?
What is a java object and java application?
What is a bubble sort in java?
What is a parameter in a function?
Can a final variable be manipulated in java?
What are the differences between throw and throws?
What is tochararray in java?
Can you create an object of an abstract class?
what is the difference between pagecontext and servletcontext?
where final and static variable stored?
How to instantiate static nested classes in java?
What are the 5 types of research methods?