public property
- noun
- Specialized
- -This is public property...
Examples
-
This is public property.
-
I went ahead and added a public property MyMessage to the class.
Blog text (3) -
These people earn a ton of money because the public pays to see their movies or buy their music; therefore, they're public property.
Academic text (2013) -
In the class definition, we created a public property named Score that can be accessed from outside.
-
The game's design requires each object to have a public property for the player's health points.
-
To ensure data integrity, always use a public property with appropriate accessors for an object's attributes.
How Accessible
- Specialized
- Specialized
Surface Forms
Morphology
The phrase combines 'public' (accessible to everyone) with 'property' (an attribute or feature) so a learner who knows those words can infer it means an attribute that is accessible externally — which matches the programming sense. While detailed behavior in programming (get/set accessors, class/member distinctions) is domain-specific, the core compositional meaning is directly derivable from the constituents.
Etymology
Public property in programming paints a simple picture: it is a named part of an object that other code can reach. The word property is the named value, for example 'Name', and public means other code can read or change it, so the phrase means 'a class member other code can read or modify'.