Actions

::Field (computer science)

::concepts

Length::fields    Field::variable    Record::database    Records::fixed    Instance::class    Called::always

In computer science, data that has several parts, known as a record, can be divided into fields. Relational databases arrange data as sets of database records, also called rows. Each record consists of several fields; the fields of all records form the columns.

In object-oriented programming, field (also called data member or member variable) is the data encapsulated within a class or object. In the case of a regular field (also called instance variable), for each instance of the object there is an instance variable: for example, an Employee class has a Name field and there is one distinct name per employee. A static field (also called class variable) is one variable, which is shared by all instances.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>


Field (computer science) sections
Intro  Fixed length  Variable length  See also  References  

PREVIOUS: IntroNEXT: Fixed length
<<>>