Changes between Version 2 and Version 3 of Properties
- Timestamp:
- 11/03/12 20:53:56 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Properties
v2 v3 3 3 == Introduction == 4 4 5 Properties provide a way to get and set the values that characterize an object. A business application could have a Customer class with properties .name, .address and .id. A video game could have a GameObject class with properties .position, .velocity and .health.5 Properties provide a way to get and set the values that characterize an object. A business application could have a Customer class with properties .name, .address and .id. A video game could have a !GameObject class with properties .position, .velocity and .health. 6 6 7 7 == Syntax ==