Copy link to clipboard
Copied
Hi guys!
This might be a dumb question, but I think I'm really missing something...
Lets say I have 3 classes A B and C, class A extends C and class B also extends C.
Now, does this mean that class C is created 2 times in memory (one for A and one for B) or class C is only created once and then shared between A and B?
Thank you!
C is added to memory once and reused.
Copy link to clipboard
Copied
C is added to memory once and reused.
Copy link to clipboard
Copied
Thought so...Thank you.
Copy link to clipboard
Copied
you're welcome.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now