Property

esse quam videri
Revision as of 17:23, 12 June 2019 by Janell (talk | contribs) (Created page with " =Definition= "A property, in some object-oriented programming languages, is a special sort of class member, intermediate in functionality between a field (or data member) and...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

"A property, in some object-oriented programming languages, is a special sort of class member, intermediate in functionality between a field (or data member) and a method. The syntax for reading and writing of properties is like for fields, but property reads and writes are (usually) translated to 'getter' and 'setter' method calls. The field-like syntax is easier to read and write than lots of method calls, yet the interposition of method calls "under the hood" allows for data validation, active updating (e.g., of GUI elements), or implementation of what may be called "read-only fields"." Property at Wikipedia

Relevance

Explanation

Scope

Local

Global

Block

Typing

Resources

See also

Notes

External Links