>>> Classes are symbolic representations of objects; they describe the properties, fields, methods, and events that make up objects in the same way that blueprints describe the items that make up a building.
>>> Just as a blueprint can be used to create multiple buildings, a single class can be used to create as many objects as necessary.
>>> Just as a blueprint defines which parts of a building are accessible to people who use the building, so too can classes control user access to object items through encapsulation.
No comments:
Post a Comment