You can also read book "Inside JVM" and some sample free chapters on the Artima.com site.
Here is the link where you will find the memory allocation in JVM. http://www.artima.com/insidejvm/ed2/jvm2.html
Here as you will see, there is a "method area" where all the methods are stores for classes regardless of how many objects are there for any class which is what Ernest was pointing to.
More about the book here, http://www.artima.com/insidejvm/blurb.html