Hi Gary,
Yes , "abc" will remain in String Pool even after this method gets completed and I beleive it only be removed when program gets terminated , Since String pool is gets created in Perm area of
Java heap , it potentially exposes the chance of OutOfMemory in Perm space with huge string literal , anybody disagree ?
Thanks
Javin