A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Oct 30, 2002
Aug 13, 2003 04:37:00
How can I retrieve the contents of the
constant pool ?
Thanks in Advance,
Joined: Feb 27, 2002
Aug 13, 2003 10:39:00
You cannot! The JVM will handle the creation of the pool . You need not worry about the creation.
Joined: Oct 14, 2002
Aug 13, 2003 10:42:00
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.)
I agree. Here's the link:
subject: String Pool
what is Stringpool and heap
Reg. GC from JavaCaps
Is Kathy&Bert book wrong? Or my understanding wrong?
difference between poll memory and non-poll memory?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014