#OOP #designTools
An object description is used to design an object to be used within a software module.
Object descriptions include the name of the object, a list of the required attributes/properties (data) and a list of the required methods (behaviours) that are required to maximise the potential future use of the object.
The data type of each property/attribute may or may not be listed with the property/attribute.
Where required, parameters should be included in the description of methods.
A sample object description is found below:
| | |
| -------------------------- | ------------------------------------------------------------------------------- |
| **Name** | Dog |
| **Properties/ Attributes** | Name (string)<br><br>Breed (string)<br><br>Age (integer)<br><br>Colour (string) |
| **Methods** | bark()<br><br>eat(food)<br><br>wag_tail() |