Basic Syntax

Variable

English

Overview

A named container for temporarily storing a value.

Details

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.

More Programming terms