What Is Resource Leak?

Answers were Sorted based on User's Feedback



What Is Resource Leak?..

Answer / 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

What Is Resource Leak?..

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

Post New Answer

More Core Java Interview Questions

Garbage collection in java?

0 Answers  


What do you know about the garbate collector?

0 Answers  


What is locale?

0 Answers  


Can I create any Marker Interface? If yes then how can I use it???

4 Answers  


What is the difference between sleep and wait in java?

0 Answers  






What is the meaning of flag day?

0 Answers  


which one is performance wise advantageious from List,Set,Map?

6 Answers  


Given a singly linked list, determine whether it contains a loop or not without using temporary space?

0 Answers   Global Logic,


Implement two stacks using a single array.

0 Answers   Global Logic,


Given: 11. public static void main(String[] args) { 12. Integer i = uew Integer(1) + new Integer(2); 13. switch(i) { 14. case 3: System.out.println(”three”); break; 15. default: System.out.println(”other”); break; 16. } 17. } ‘What is the result? 1 three 2 other 3 An exception is thrown at runtime. 4 Compilation fails because of an error on line 12.

9 Answers  


What is string syntax?

0 Answers  


what is the use of abstract class?

3 Answers   Amdocs, Atos Origin, Invictus,


Categories