|
|
Hi,
When a Java object is instantiated, will only the storage for the attributes of the class be allocated or will the code within the class be allocated and copied also. In other words, will the code be executed from the class and the data stored in the object's allocated memory?
Hope this makes sense.
Thanks,
Tracy