Originally posted by rajashree ghatak:
According to me,"JavaWorld" is a String literal and since it is created in StringPool and not in the Heap it will not be eligible for G.C
let me know if i am wrong.
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