how exactly garbage collection take place?

Answer Posted / devil

As in Java its happen automatically, but if you want to do
this force fully you can do this by the use of
keyword "finalize".

Is This Answer Correct ?    0 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When is the finalize() called? What is the purpose of finalization?

688


What is the relationship between class and object?

618


Explain aggregation in java?

625


Can we increase array size dynamically in java?

606


What are the features of java?

624






What is strings in java?

688


What is heterogeneous in java?

585


Is vector thread safe in java?

653


Explain the importance of import keyword in java?

639


Can we sort list in java?

695


How is tree Mirroring implemented?

722


Where will it be used?

1590


What about instanceof operator in java?

680


Can java object be locked down for exclusive use by a given thread?

675


How many threads can I run java?

654