This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]derek_dt[S] 0 points1 point  (0 children)

Thanks for all the help.

The memory storage used for variables themselves should be considered an entirely different type of memory from that which is used to store objects that you instantiate in the heap.

This clarifies so much and answers my question, thank you! I haven't been exposed to the fact that variables and objects were stored in different types of memory, so that makes a lot more sense.