But in the case of a final object, whether you use it or not, the GC won't consider it.
Deepak Bala wrote:I have never heard of the 'final' keyword improving performance. I dont see any reason why it should.
Hari haran Ravi wrote:
Even the Sun Microsystems' documentation reports that the usage of final objects should be highly cared about as they are directly linked to the program's performance.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton