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

What are exception handling keywords in java?

599


How are the elements of a gridbaglayout organized?

537


Explain java code for recursive solution's base case?

560


Is Constructor possible in abstract class in java ?

579


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1595






How to check if a list is sorted in java?

581


Which method must be implemented by all threads?

714


What is boolean in java?

502


What is contract between hashcode and equal method?

562


How is hashcode calculated in java?

494


Can we have try without catch block?

635


Can you change array size in java?

524


What is the full name of java?

559


What are the rules for variable declaration?

496


How do you calculate roots in java?

516