When is an object in the mean to garbage collection?

Answer Posted / ravikiran

when it is not reffered by any active thread

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between variable & constant?

536


What is square root in java?

584


How do you download stubs from Remote place?

1352


Can set contain duplicates?

545


Give an example of use of pointers in java class.

561






Explain about the select method with an example?

591


What does += mean in java?

570


What is byte data type?

546


How many times finalize method will be invoked? Who invokes finalize() method in java?

572


How do generics work in java?

518


Can singleton class be cloned?

558


What is meant by attribute?

590


I don’t want my class to be inherited by any other class. What should I do?

573


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

557


What is the use of object and class classes?

565