Classification
- Objects with the same attributes, operations, relationships to other objects, and common
semantics that can be grouped into classes.
- Sometimes called object classes.
- Examples: Paragraph, Factory Worker, Company Policy
- Class is an abstract concept that describes general attributes and operations for all
objects grouped together.
- Classes do not have values for attributes, objects do.
- Each object "knows" its class. Many object-oriented languages allow access of
class name at one time.
- Rumbaugh refers to objects as "object instances" to help remember that an
object is always an instance of some class.
- Objects are depicted using "Instance Diagrams"
- Similar diagrams for classes are called "Class Diagrams"
- Click Here to See an Example of Classes and their Object Instances
Back to Previous Page
Document:
Local Date:
Last Modified On: