A named container for temporarily storing a value.
A mechanism that names a region of memory to hold a value. In many languages, primitive types live on the stack, while for object types it's a reference to the heap-allocated entity that's placed on the stack -- value types and reference types are allocated differently.
© 2026 ITBGM