Is there memory leaks in java?

Answer Posted / aravinda reddy

Yes of course, even though garbage collection low priority
threads running in the back ground in jav, there are still
possibilities are there for memory leaks.

Example : Some objects are no longer useful, but some other
objects refers to these objects, in this case garbage
collection process can not reclaim the memory allocated for
unused objects

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class be private in java?

535


What does compareto () do in java?

566


How does map works in java?

507


Can we declare the static variables and methods in an abstract class?

544


How do you reverse a list?

550






Is string a class?

554


Which class should you use to obtain design information about an object in java programming?

642


What are advantages of exception handling in java?

576


What is gui programming?

514


What is application tier?

525


What are the actions that can occur when a thread enters blocked state?

575


What is the difference between static method and instance method in Java?

562


Which browsers work with java?

559


What is a module function?

553


How do you declare an array in java?

512