This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line! See this thread for details.
The finalize method is called by the garbage collector. The reason that the finalize method can't be private (or have default/package accessibility) is that it is defined as protected in the Object class and Java does not allow you make an overridden method in a derived class less accessible than the method it is overriding. Since private is more restrictive than protected you can't do this. John
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Hi! GC means the garbage collector. Java has a automatic mechanism for recovering the memory from destroyed objects. The JVM contains a special utility known as Garbage Collector which helps the system to collect the memory.
On top of spaghetti all covered in cheese, there was this tiny ad:
a bit of art, as a gift, the permaculture playing cards