Objects and Classes
Modeling persons:
In object oriented languages classes:
-
are blueprints for objects.
-
contain attributes and methods.
-
allow for implementation hiding.
-
allow for tailored access to methods and attributes.
|