Objects - represent "things: from the real world.
the objects is made up of attributes and methods.
Attributes - define the object.
methods - describes the mechanism that actually perform its tasks.
Classes - describes a group or collection of objects with common properties and also define a type of objects
Example of classes:
- employee
- car
-chair
No comments:
Post a Comment