Modeling Things with Class Diagrams Problem Statement - Car and Owner a person owns any number of cars and a car may have any number of owners a car has any number of engines, tires, and doors. A car has only 1 owner, 2 or 4 doors, 4 tires, and only 1 engine; and given a person, once can identify the person’s car, but given a car, one cannot identify the car’s owner. A Particular Owner of a Car using Object Diagram Simon, who is a person, owns a car that has 2 doors, 4 tires, and 1 engine. Other UML Articles What is UML? Why UML Modeling? Overview of the 14 UML Diagram Types What is Class Diagram? What is Component Diagram? What is Deployment Diagram? What is Object Diagram? What is Package Diagram? What is Composite Structure Diagram? What is Profile Diagram? What is Use Case Diagram? What is Activity Diagram? What is State Machine Diagram? What is Sequence Diagram? What is Communication Diagram? What is Interaction Overview Diagram? What is Timing Diagram What is UML Collaboration Diagram? UML Association vs Aggregation vs Composition UML Class Diagram Tutorial How to Model Constraints in UML? State Machine Diagram vs Activity Diagram How to Identify Actors? Types of Actor in Use Case Model What is Model-View and Control? How to Model MVC Framework with UML Sequence Diagram? UML - Behavioral Diagram vs Structural Diagram What is UML Extensibility Mechanism? UML Practical Guide - All you need to know about UML modeling