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 the difference in between cpp and java? Can u explain in detail?
What is the simpletimezone class in java programming?
What is qms certification?
What is immutable class? how to make a Class explicitly "Immutable"?Wap to make a class explicitly immutable.
Explain polymorphism citing an example.
What is the purpose of default constructor?
Can list be final in java?
I Have a class abstract with one abstract method, so that method should override in the subclass, but i dont want to override, if i am not override what will happen? If compilation will occur then i dont want to give compilation error, then what we need to do??? See the sample program. public abstract class AbstractExample { public abstract void sampleMethod(); } public class AbstractExampleImple extends AbstractExample { }
Can we start a thread twice in java?
What do you mean by constructor?
What is ph and buffers?
why interfaces are faster than abstract classes?