Classes & Object Diagram
Classes & Object Diagram
Diagram
Group 3 (Roll no - 147 - 156)
UML Diagram
1 Structural ( 2 Behavioural (d
static) ynamic)
- Classes
- Object
Class Object
+ public
- private
# protected
Relation
Type
1. Association
2. Dependency - - - - - - - ->
3. Aggregation (not strongly dependent)
4. Composition (strongly dependnet)
5. Generalization
CONTENTS
1 What? 3 Benefit
2 Purpose 4 How?
Purpose of a class Diagram
First, analyze the system and decide which instances have important data
and association.
Second, consider only those instances, which will cover the functionality.
Third, make some optimization as the number of instances are unlimited.
Where to draw an Object Diagram