ASP Programming Question:
Download Questions PDF

Where do the reference-type variables go in the RAM?

Answer:

The references go on the stack, while the objects themselves go on the heap.

Download ASP Programming Interview Questions And Answers PDF

Previous QuestionNext Question
Where is the value-type variables allocated in the computer RAM?What is the difference between the value-type variables and reference-type variables in terms of garbage collection?