Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCPJP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Devaka Cooray
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Jeanne Boyarsky
Tim Cooke
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Mikalai Zaikin
Carey Brown
Bartenders:
Forum:
Programmer Certification (OCPJP)
GC of String literals
Trinity
Greenhorn
Posts: 15
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi !
Are
string
literals garbage collected - or do they stay in the literal pool till the end of the program ?
Thanx.
thomas
Ranch Hand
Posts: 79
posted 23 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
trinity:
This has been discussed on this forum many times. Do a search. You will find some good discussions by Jim, Maha, Ajith and others.
Uh oh, we're definitely being carded. Here, show him this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Garbage
instanceof question
Strings and ==
String and StringBuffer
the "+" operator
More...