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 |
If circular link of two objects, then will it be garbage collected ?
Are strings immutable in java?
int a=1,b=10; System.out.println(a+b--);
What is parameter example?
What is the this keyword?
What is the purpose of the system class in java programming?
Is java free for commercial?
What are default methods ?
What do u mean by method and also contructer in java ?
How many bytes is a string?
import java.io.*; class Demo { public static void main(String args[]) { File f=new File("1234.msg"); String arr[]=f.list(); System.out.println(arr.length); } }
What happens if we don’t define serial version uid?