A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
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.)
It is sorta covered in the
JavaRanch Style Guide
subject: String Pool
what is Stringpool and heap
Is Kathy&Bert book wrong? Or my understanding wrong?
difference between poll memory and non-poll memory?
Reg. GC from JavaCaps
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014