Suppose I have a Java class that has 100K worth of method code containing NO variables, but only 20 bytes of attributes.
I instantiate 1000 objects from this class.
Have I consumed 100,000K of memory? Or only 100K + (20bytes * 1000)? Or something else altogether?