Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

What do you understand by classes in object oriented system design ?

  1. Grouping Similar Things:
    • Think of a class as a way to group together similar things. It’s like putting items with shared characteristics into a category.
  2. Describing a Group of Objects:
    • A class describes a group of objects that have similar properties (how they look), behavior (what they can do), relationships with other objects, and a common purpose.
  3. Common Attributes and Behavior:
    • Objects within a class share the same attributes (characteristics) and behavior (actions or functions). This helps in organizing and managing them more efficiently.
  4. Individuality through Differences:
    • Even though objects belong to the same class, they can have individuality based on differences in their attribute values and relationships with other objects.
  5. Shared Purpose:
    • Objects in a class are not just similar in appearance or behavior, they also share a common purpose or goal. They are designed to work together towards a common objective.
  6. Objects “Knowing” Their Class:
    • Each object is aware of the class it belongs to. It’s like objects have a built-in understanding of their group and what they’re supposed to do.
  7. Determining Class at Run Time:
    • In object-oriented programming languages, the system can figure out (determine) which class an object belongs to while the program is running. This flexibility is useful for creating dynamic and adaptable programs.
  8. Implicit Property of Objects:
    • The class of an object is a natural part of the object itself. It’s not something you have to explicitly specify every time; it’s like an inherent quality of the object.

Leave a Comment