Quiz Yourself on Variables
Evaluate yourself with a quiz on the variables and their types (local, reference, and instance) that you have studied in this chapter.
1
Local variables store their values in the ________, whereas, the newly created objects are stored in ________.
A)
Stack, heap
B)
Code segment, heap
C)
Cache, RAM
D)
Heap, stack
Question 1 of 50 attempted
Get hands-on with 1200+ tech skills courses.