Does methods have different copies for eact object?
<p>Hi<br/> I have a class Sample in java.
It has two instance variables and one method to add the instance variable and print the sum.<br/>
I created two Objects of Sample class. Its clear to me that both objects will have their own data members.
I have to know that will both the object have one common copy of the method to which both uses or they have different copy in jvm.</p>
