Object-Oriented Programming

Field

English

Overview

Data (a variable) that a class holds.

Details

Data (a variable) held by a class. A regular field, which can hold a different value per instance, and a field marked static, shared as a single copy across the whole class, are allocated differently in memory.

More Programming terms