aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes String Pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "String Pool" Watch "String Pool" New topic

String Pool

Priya Jotwani
Ranch Hand

Joined: Oct 30, 2002
Posts: 53
Hi All,
How can I retrieve the contents of the String constant pool ?
Thanks in Advance,
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8920

You cannot! The JVM will handle the creation of the pool . You need not worry about the creation.

Bert Bates

Joined: Oct 14, 2002
Posts: 8896
It's also a really minor part of the exam. I wouldn't spend too much time studying the String pool until I was absolutely ace-ing: threads, inner classes, and GC on all the mocks!

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Have you tried LearnNowOnline?
subject: String Pool