Content deleted Content added
Reverted 1 edit by 174.99.134.242 (talk): ? |
No edit summary Tag: Reverted |
||
Line 1:
{{short description|Function that is tied to a particular instance or class}}
A '''
Data is represented as [[Property (programming)|properties]] of the object, and behaviors are represented as methods. For example, a <code>Window</code> object could have methods such as <code>open</code> and <code>close</code>, while its state (whether it is open or closed at any given point in time) would be a property.
|