The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Non-static constants are created in the heap or in the constant pool?

Posted by Jose Botella on December 11, 2000 at 6:01 PM

I have a doubt:

Non-static final variables go in the image of the object in the
heap with the non static variables or are they placed in the constant
pool of the class next to the static constants ?

Thank you for your attention.




Replies:
  • Heap...... Kishori Sharan December 19, 2000 at 11:27 AM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us