Information générale
Titre:
Code and Instances of an object
If I create an object and give it methods of my own or write code in built in events.
At run time, will the code that was written in my objects be duplicated in memory for each instance of the object?
I know that the properties will be duplicated for each instance of the object. I just want to make sure that it does not copy the code in memory for each instance of the objects.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement