Content deleted Content added
อ้างอิง Tags: Reverted Visual edit Mobile edit Mobile web edit |
Undid revision 1138175630 by 223.24.170.44 (talk) Ce |
||
Line 1:
{{short description|Function that is tied to a particular instance or class}}
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.
|