Answer Posted / madhu
Garbage Collection (GC) in Java will relieve you from the
mundane duties of allocating, tracking, and freeing the
heap memory. Indeed, the promise has been delivered, so it
is reasonable -- and to quite an extent correct -- for you
to conclude that there will be no memory leaks in your Java
program. However, the catch is that GC can take care of
only typical heap management problems.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain purpose of sleep() method in java?
What is final keyword in java?
Can we force the garbage collection to run?
What is the applet security manager, and what does it provide?
What does \ mean in regex?
Why singleton class is used in java?
What is the byte range?
What is the difference between the direct buffer and non-direct buffer in java?
What is protected access modifier?
How do you make a thread in java?
What is deserialization?
What is serialization in java?
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Explain about java sdk?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?