What Is Resource Leak?
Answers were Sorted based on User's Feedback
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 |
Answer / kalva raju
Garbage collector is java program,it is run in our regular
java program and it is collected un-reffernced memory in our
java program
Is This Answer Correct ? | 2 Yes | 0 No |
Can we overload destructor in java?
What is classpath?
How many bytes is double?
How to create a thread in java?
What is hashmap in java?
Which is better stringbuilder or stringbuffer?
How does a for loop work java?
Enlist diffrent types of inheritance supported by java?
What is the difference between Grid and Gridbaglayout?
Is java code slower than native code?
I want to persist data of objects for later use. What’s the best approach to do so?
Is string a wrapper class?